Skip to content

Commit

Permalink
ci: only publish site on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzzy committed Jul 25, 2024
1 parent d7b2546 commit 1bee3e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
- name: Build site
run: npm run build
- name: Upload site to b2
if: ${{ github.ref == 'refs/heads/main' }}
env:
B2_APPLICATION_KEY_ID: "${{ secrets.B2_APPLICATION_KEY_ID }}"
B2_APPLICATION_KEY: "${{ secrets.B2_APPLICATION_KEY }}"
Expand Down

0 comments on commit 1bee3e3

Please sign in to comment.