Skip to content

Commit

Permalink
Deploy playground to custom destination dir (#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 authored Mar 16, 2022
1 parent 8f5d9ce commit ebab0ec
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/checkout@v3
with:
ref: gh-pages
path: dist
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- uses: Borales/actions-yarn@v2.3.0
Expand All @@ -45,7 +39,9 @@ jobs:
- uses: Borales/actions-yarn@v2.3.0
with:
cmd: build:prod
- uses: peaceiris/actions-gh-pages@v3
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./dist
destination_dir: playground
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ebab0ec

Please sign in to comment.