Skip to content

Check in a workflow and a janky demo #4

Check in a workflow and a janky demo

Check in a workflow and a janky demo #4

name: Deploy demo
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- uses: jetli/[email protected]
- uses: jetli/[email protected]
- uses: actions/checkout@v2
- run: cd parser_demo && trunk build --release
- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./parser_demo/dist