forked from jprendes/emception
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,26 +35,28 @@ jobs: | |
# install node 14 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
node-version: 16 | ||
|
||
- name: Build demo | ||
run: | | ||
./build-demo.sh | ||
- name: GitHub Pages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: crazy-max/[email protected] | ||
# deploy build/demo to gh-pages | ||
- uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
build_dir: build/demo/ | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./build/demo | ||
publish_branch: gh-pages | ||
force_orphan: true | ||
|
||
# - uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: dist | ||
# path: | | ||
# ./build/llvm/bin/llvm-box.wasm | ||
# ./build/llvm/bin/llvm-box.mjs | ||
# retention-days: 7 | ||
- name: Zip artifact for deployment | ||
run: zip build.zip ./build/* -r | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: dist | ||
path: ./build.zip | ||
retention-days: 7 | ||
|
||
|
||
# release: | ||
|
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
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