ci: only deploy to pages on master pushes

This commit is contained in:
2025-07-28 17:09:21 -05:00
parent b4e3f383ec
commit b45980c172

View File

@@ -127,9 +127,11 @@ jobs:
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
with:
path: "./dist/"
retention-days: 7
- name: Deploy
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
uses: actions/deploy-pages@v4