diff --git a/.github/workflows/docusaurus.yaml b/.github/workflows/docusaurus.yaml index 457c766..e3dba02 100644 --- a/.github/workflows/docusaurus.yaml +++ b/.github/workflows/docusaurus.yaml @@ -10,6 +10,11 @@ on: - ready_for_review - reopened - synchronize + workflow_dispatch: + +concurrency: + group: "pages" + cancel-in-progress: false jobs: build: @@ -39,7 +44,7 @@ jobs: retention-days: 7 deploy: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == workflow_dispatch || (github.event_name == 'push' && github.ref == 'refs/heads/main') needs: build runs-on: ubuntu-latest permissions: