From e7329498562bdf0486ad8c2a47fb6282f40f1022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Mon, 17 Oct 2022 20:23:56 +0200 Subject: [PATCH] Create web-build.yml --- .github/workflows/web-build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/web-build.yml diff --git a/.github/workflows/web-build.yml b/.github/workflows/web-build.yml new file mode 100644 index 0000000..dc2f62f --- /dev/null +++ b/.github/workflows/web-build.yml @@ -0,0 +1,22 @@ +name: Build web and deploy + +on: + workflow_dispatch: + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + BUTLER_API_KEY: ${{ secrets.BUTLER_KEY }} + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up emsdk + run: web/setup.sh + + - name: Build and deploy eco2d + run: web/deploy.sh