driveby to only run the ghp deploy on main

This commit is contained in:
ClementTsang
2026-01-16 01:33:02 -05:00
parent d61c93ec12
commit 334ddb7b32
@@ -30,6 +30,7 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
if: github.ref == 'refs/heads/main'
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deploy.outputs.page_url }} url: ${{ steps.deploy.outputs.page_url }}