Skip to content

Commit f12b4b6

Browse files
authored
Update deploy.yml
1 parent e9e5ab9 commit f12b4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} # 引用配置,SSH私钥
2323
ARGS: -avz --delete --exclude='*.pyc' # rsync参数,排除.pyc文件
2424
SERVER_PORT: '22' # SSH端口
25-
FOLDER: ./website #推送的文件夹,路径相对于代码仓库的根目录
25+
FOLDER: ./website/* #推送的文件夹,路径相对于代码仓库的根目录
2626
SERVER_IP: ${{ secrets.SSH_HOST }} # 引用配置,服务器的host名(IP或者域名domain.com)
2727
USERNAME: ${{ secrets.SSH_USERNAME }} # 引用配置,服务器登录名
2828
SERVER_DESTINATION: /var/www/books/leetcode/ # 部署到目标文件夹

0 commit comments

Comments
 (0)