Skip to content

Commit

Permalink
build: dev & prod gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbnetley committed Jun 13, 2023
1 parent 573b035 commit 075bccc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,18 @@ jobs:
- name: Build
run: pnpm run build

- name: Deploy
- name: Deploy prod
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
branch: gh-pages-prod
folder: dist

- name: Deploy dev
if: github.ref == 'refs/heads/dev'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages-dev
folder: dist

github-release:
Expand Down

0 comments on commit 075bccc

Please sign in to comment.