From 3fcb78a01fda542bc9adcacab8900e78e97998d1 Mon Sep 17 00:00:00 2001 From: ember <1279347317@qq.com> Date: Wed, 29 Jan 2025 23:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/buildsite?= =?UTF-8?q?.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/buildsite.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/buildsite.yaml diff --git a/.gitea/workflows/buildsite.yaml b/.gitea/workflows/buildsite.yaml new file mode 100644 index 0000000..0de426f --- /dev/null +++ b/.gitea/workflows/buildsite.yaml @@ -0,0 +1,17 @@ +name: Deploy Incremental Updates to NEUxiaozhan +on: + push: + branches: + - master # 触发分支,可以根据需要修改 + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Sync Files to Web Root + run: rsync -avz --delete ./ $WEB_ROOT + env: + WEB_ROOT: /www/wwwroot/front/public \ No newline at end of file