Browse Source

Deploy playground to custom destination dir (#1943)

pull/1945/head
jedel1043 3 years ago committed by GitHub
parent
commit
ebab0ecd67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .github/workflows/release.yml

10
.github/workflows/release.yml

@ -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
@ -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 }}

Loading…
Cancel
Save