Skip to content

Commit f8ebebf

Browse files
committed
ci: deploy to pages only on tags to prevent overwriting production with dev builds
1 parent b84392f commit f8ebebf

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
@@ -121,7 +121,7 @@ jobs:
121121
url: ${{ steps.deployment.outputs.page_url }}
122122
runs-on: ubuntu-latest
123123
needs: build
124-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
124+
if: startsWith(github.ref, 'refs/tags/')
125125
steps:
126126
- name: Download Artifacts
127127
uses: actions/download-artifact@v6

0 commit comments

Comments
 (0)