We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9e5ab9 commit f12b4b6Copy full SHA for f12b4b6
.github/workflows/deploy.yml
@@ -22,7 +22,7 @@ jobs:
22
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} # 引用配置,SSH私钥
23
ARGS: -avz --delete --exclude='*.pyc' # rsync参数,排除.pyc文件
24
SERVER_PORT: '22' # SSH端口
25
- FOLDER: ./website #推送的文件夹,路径相对于代码仓库的根目录
+ FOLDER: ./website/* #推送的文件夹,路径相对于代码仓库的根目录
26
SERVER_IP: ${{ secrets.SSH_HOST }} # 引用配置,服务器的host名(IP或者域名domain.com)
27
USERNAME: ${{ secrets.SSH_USERNAME }} # 引用配置,服务器登录名
28
SERVER_DESTINATION: /var/www/books/leetcode/ # 部署到目标文件夹
0 commit comments