Skip to content

Commit 04e10dc

Browse files
committed
ci: Deploy on workflow dispatch trigger
1 parent 38807f6 commit 04e10dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,7 @@ jobs:
5151
path: .
5252

5353
- name: Deploy to GitHub Pages
54-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
54+
if: >
55+
(github.event_name == 'push' || github.event_name == 'workflow_dispatch')
56+
&& github.ref == 'refs/heads/main'
5557
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)