From d992b136477f4bf877b401410c639daed21ab35f Mon Sep 17 00:00:00 2001 From: "Yong.Teng" Date: Mon, 19 May 2025 16:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E5=AE=98=E7=BD=91=E5=8F=91?= =?UTF-8?q?=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-site.yaml | 8 ++++---- {scripts => site/scripts}/deploy-site.sh | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename {scripts => site/scripts}/deploy-site.sh (100%) diff --git a/.github/workflows/deploy-site.yaml b/.github/workflows/deploy-site.yaml index 953a89bd4..feb33538e 100644 --- a/.github/workflows/deploy-site.yaml +++ b/.github/workflows/deploy-site.yaml @@ -1,7 +1,7 @@ name: Docs CI on: - release: + merge: branches: - master @@ -19,7 +19,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: 2. install dep + - name: 2. install dependency run: | cd site rm -rf node_modules @@ -35,5 +35,5 @@ jobs: PUBLISH_DIR: ./_site CNAME: www.buession.com run: | - chmod +x ./scripts/deploy-site.sh - bash ./scripts/deploy-site.sh + chmod +x ./site/scripts/deploy-site.sh + bash ./site/scripts/deploy-site.sh diff --git a/scripts/deploy-site.sh b/site/scripts/deploy-site.sh similarity index 100% rename from scripts/deploy-site.sh rename to site/scripts/deploy-site.sh