Adding prompt syntax highlighting, better theming, experiments as query params #170
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pages | |
on: | |
push: | |
branches: [main, master, v2-branch] | |
pull_request: | |
branches: [main, master, v2-branch] | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
pages: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Build | |
run: | | |
wasm-pack build --target web --out-dir demo/pkg --no-default-features --features wasm | |
rm demo/pkg/.gitignore | |
- name: Deploy to GitHub pages 🚀 | |
if: github.event_name != 'pull_request' | |
uses: JamesIves/[email protected] | |
with: | |
clean: false | |
branch: gh-pages | |
folder: demo |