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