Skip to content

Commit

Permalink
Run deploy step only on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pashutk committed Dec 3, 2022
1 parent 8ecffe0 commit ab88951
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- run: ./w4 bundle cart_snip_opt.wasm --title "w4tracker" --html index.html
- run: mkdir _build && mv index.html _build/index.html
- name: Deploy 🚀
if: ${{ github.ref_name == 'main' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _build

0 comments on commit ab88951

Please sign in to comment.