Skip to content

Deploy browser app

Deploy browser app #1

Workflow file for this run

name: Build and Publish
on: [ push, pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Build
run: ./gradlew build
- name: Deploy browser app
# if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@4.5.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: composeApp/build/dist/wasmJs/productionExecutable
CLEAN: true