Skip to content

Commit dea1631

Browse files
committed
ci: allow GitHub Pages deployment on tag pushes
1 parent 8844084 commit dea1631

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
deploy:
6868
name: Deploy to GitHub Pages
6969
needs: test
70-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
70+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
7171
environment:
7272
name: github-pages
7373
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)