Skip to content

fix #67: Mistaking UN*X absolute paths as bot commands (#68) #53

fix #67: Mistaking UN*X absolute paths as bot commands (#68)

fix #67: Mistaking UN*X absolute paths as bot commands (#68) #53

Workflow file for this run

name: Build & Deploy wasm Example
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: jetli/[email protected]
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: "latest"
- name: checkout
uses: actions/[email protected]
- name: build
run: |
cd message_parser_wasm
wasm-pack build --target web
mkdir public
mv example.js public/example.js
mv example.html public/index.html
mv pkg public/pkg
rm public/pkg/.gitignore
- name: deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: message_parser_wasm/public # The folder the action should deploy.