trying to make input more mobile-friendly #15
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: Deploy Pages Demo | |
on: | |
push: | |
branches: [main, master, v2-branch] | |
pull_request: | |
branches: [main, master, v2-branch] | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
Pages: | |
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 |