Skip to content

Build and Publish GitHub Pages #2

Build and Publish GitHub Pages

Build and Publish GitHub Pages #2

Workflow file for this run

name: Build and Publish GitHub Pages
on:
workflow_dispatch:
jobs:
build:
name: Test and Build
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Fetch Sources
uses: actions/checkout@v4
- name: Build
run: ./gradlew :composeApp:wasmJsBrowserDistribution
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: composeApp/build/dist/wasmJs/productionExecutable
CLEAN: true