Skip to content

Commit a54c84c

Browse files
ci: deploy GitHub pages upon manual workflow dispatch (#5080)
Co-authored-by: Martin <[email protected]>
1 parent cf666d5 commit a54c84c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
5050

5151
- name: Deploy to GitHub Pages
52-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
52+
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master'
5353
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
5454
with:
5555
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)