Skip to content

Commit

Permalink
deploy schema JSON to Netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed May 17, 2024
1 parent f9aaa41 commit f1dde77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: wasm-pack build --target web --no-typescript standalone_wasm
- name: Deploy Production
run: netlify deploy --dir=standalone_wasm/pkg --site=malva --prod
run: |
cp dprint_plugin/deployment/schema.json standalone_wasm/pkg
netlify deploy --dir=standalone_wasm/pkg --site=malva --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

0 comments on commit f1dde77

Please sign in to comment.