this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

adding github action to deploy webapp for github pages

+35
+35
.github/workflows/webapp-release.yml
··· 1 + name: Web App Release 2 + 3 + on: 4 + release: 5 + [published] 6 + 7 + env: 8 + BUILD_TYPE: MinSizeRel 9 + 10 + jobs: 11 + webapp: 12 + runs-on: ubuntu-latest 13 + steps: 14 + - name: Setup Emscripten 15 + - uses: mymindstorm/setup-emsdk@v7 16 + 17 + - name: Checkout 18 + - uses: actions/checkout@v2 19 + with: 20 + submodules: recursive 21 + fetch-depth: 0 22 + 23 + - name: Build 24 + run: | 25 + cd build 26 + emcmake cmake -DBUILD_SDLGPU=On -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. 27 + cmake --build . --config $BUILD_TYPE --parallel 28 + cp bin/tic80.js webapp/tic80.js 29 + cp bin/tic80.wasm webapp/tic80.wasm 30 + 31 + - name: Deploy 32 + uses: JamesIves/github-pages-deploy-action@4.1.3 33 + with: 34 + branch: webapp 35 + folder: build/webapp