Only deploy page on main branch

This commit is contained in:
momo5502
2025-04-18 09:16:11 +02:00
parent 5147e25812
commit 9a2a6de16b

View File

@@ -534,8 +534,8 @@ jobs:
deploy-page:
name: Deploy Page
runs-on: ubuntu-latest
needs: [build-page]
#if: github.repository_owner == 'momo5502' && github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [build-page, summary]
if: github.repository_owner == 'momo5502' && github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
contents: read
pages: write