We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b1f79 commit 53c9520Copy full SHA for 53c9520
1 file changed
.github/workflows/ci-cd.yml
@@ -127,11 +127,11 @@ jobs:
127
draft: false
128
prerelease: false
129
130
- # Deploy web application to GitHub Pages (only on main branch, not tags)
+ # Deploy web application to GitHub Pages (on tag push, not main branch)
131
deploy-web:
132
runs-on: ubuntu-latest
133
needs: test
134
- if: github.ref == 'refs/heads/main'
+ if: startsWith(github.ref, 'refs/tags/v')
135
name: Deploy Web to GitHub Pages
136
137
permissions:
0 commit comments