diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 48b6e6f1..486d1ed9 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -1,9 +1,8 @@ name: GitHub Pages Deploy on: - push: - branches: - - master - - main + release: + types: [published, prereleased] + workflow_dispatch: permissions: contents: write jobs: @@ -20,4 +19,4 @@ jobs: path: .cache - run: pip install mkdocs-material - run: pip install pillow cairosvg - - run: mkdocs gh-deploy --force \ No newline at end of file + - run: mkdocs gh-deploy --force