Skip to content

- update gradle command #2

- update gradle command

- update gradle command #2

name: Build and Deploy
on:
push:
branches:
- master # Or the name of your default branch
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 17
- name: Build Project
run: ./gradlew wasmJsBrowserProductionWebpack
- name: Copy Production Executable to Docs
run: |
mkdir -p ./docs
cp -R ./webApp/build/dist/wasmJs/productionExecutable/* ./docs/
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}