From edea483a8ac5449d5fc871822b4c5d21be4d9213 Mon Sep 17 00:00:00 2001 From: Wang Ning Date: Tue, 16 Jul 2024 16:12:11 +0800 Subject: [PATCH] update deploy_page_ci.yml --- .github/workflows/deploy_page_ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_page_ci.yml b/.github/workflows/deploy_page_ci.yml index 9f24bb3..60c6c35 100644 --- a/.github/workflows/deploy_page_ci.yml +++ b/.github/workflows/deploy_page_ci.yml @@ -5,6 +5,13 @@ on: # Runs on pushes targeting the default branch push: branches: ["main"] + paths-ignore: + - "README.md" + - "CODE_OF_CONDUCT.md" + - "CONTRIBUTING.md" + - "LICENSE" + - "SECURITY.md" + - "ATTRIBUTIONS.md" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -39,7 +46,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: # Upload distribution folder - path: 'dist' + path: "dist" - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4