-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 932 Bytes
/
demo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build Demo and Deploy
on:
push:
branches:
- master
jobs:
job:
name: demo-build-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install Dependencies
run: |
wget -q https://github.com/emscripten-core/emsdk/archive/master.tar.gz
tar -xvf master.tar.gz
emsdk-master/emsdk update
emsdk-master/emsdk install latest
emsdk-master/emsdk activate latest
- name: Build
run: |
pushd emsdk-master
source ./emsdk_env.sh
popd
cd example && make
- name: Show content of workspace at its completion
run: find $RUNNER_WORKSPACE
shell: bash
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
BRANCH: gh-pages
FOLDER: example/web