From bc30fd3ab9d7a28c51beb954efdab68fc752eff3 Mon Sep 17 00:00:00 2001 From: myml Date: Wed, 15 Feb 2023 14:19:55 +0800 Subject: [PATCH] fix: pages action remove branch filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 迁移到新仓库分支从main改成master了 Log: --- .github/workflows/pages.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index b654f0b..52f84ad 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,9 +1,7 @@ name: Deploy to GitHub Pages on: push: - branches: ["main"] pull_request: - branches: ["main"] workflow_dispatch: permissions: contents: read @@ -36,7 +34,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: build - if: github.event_name == 'push' + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}