From a4d7fa8b0cd0442d5fcd1a1c868d35f3adc385c3 Mon Sep 17 00:00:00 2001 From: xiajieqiong Date: Mon, 18 Sep 2023 15:22:01 +0800 Subject: [PATCH] update --- .github/workflows/main.yml | 4 ++-- public/index.html | 1 + public/nav.json | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89a7269..cfc8a01 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,7 +57,7 @@ jobs: uses: AEnterprise/rsync-deploy@v1.0 # 使用别人包装好的步骤镜像 env: DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} # 引用配置,SSH私钥 - ARGS: -avz --delete --exclude='*.pyc' # rsync参数,排除.pyc文件 + ARGS: -avz # rsync参数,排除.pyc文件 SERVER_PORT: ${{ secrets.SSH_PORT }} # SSH端口 FOLDER: ./dist # 要推送的文件夹,路径相对于代码仓库的根目录 SERVER_IP: ${{ secrets.SSH_HOST }} # 引用配置,服务器的host名(IP或者域名domain.com) @@ -73,4 +73,4 @@ jobs: key: ${{ secrets.DEPLOY_KEY }} # 重启的脚本,根据自身情况做相应改动,一般要做的是migrate数据库以及重启服务器 script: | - nginx -s reload \ No newline at end of file + nginx -s reload diff --git a/public/index.html b/public/index.html index 55fde67..39df0f7 100644 --- a/public/index.html +++ b/public/index.html @@ -7,6 +7,7 @@ awesome study +