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 }}