Skip to content

Commit

Permalink
Update deploy key rather than password
Browse files Browse the repository at this point in the history
  • Loading branch information
Freedyool committed Jan 21, 2025
1 parent 9f70c4e commit 17c905e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ jobs:
#远程服务器的用户名
user: ${{ secrets.REMOTE_USERNAME_ALIYUN }}
#远程服务器的密钥(与密码二者选其一)
password: ${{ secrets.REMOTE_PASSWORD_ALIYUN }}
key: ${{ secrets.REMOTE_KEY }}
#上传后执行的脚本
post_upload: sudo nginx -s reload

0 comments on commit 17c905e

Please sign in to comment.