|
|
@ -33,12 +33,14 @@ jobs:
|
|
|
|
- uses: jetli/trunk-action@v0.1.0
|
|
|
|
- uses: jetli/trunk-action@v0.1.0
|
|
|
|
- uses: jetli/wasm-bindgen-action@v0.1.0
|
|
|
|
- uses: jetli/wasm-bindgen-action@v0.1.0
|
|
|
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
- name: Trunk build
|
|
|
|
|
|
|
|
run: |
|
|
|
|
cd web
|
|
|
|
cd web
|
|
|
|
trunk build --release
|
|
|
|
trunk build --release
|
|
|
|
|
|
|
|
|
|
|
|
- uses: peaceiris/actions-gh-pages@v3
|
|
|
|
- name: Publish to GitHub Pages
|
|
|
|
if: github.ref == 'refs/heads/main'
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
github_token: $
|
|
|
|
github_token: $
|
|
|
|
publish_dir: ./web/dist
|
|
|
|
publish_dir: ./web/dist
|