Skip to content

Move stuff around to test arrangement. #15

Move stuff around to test arrangement.

Move stuff around to test arrangement. #15

Workflow file for this run

name: Deploy Page
on:
# Triggers the workflow on push for the "main" branch
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout main branch
uses: actions/checkout@v2
with:
ref: main
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build with Gradle
run: ./gradlew wasmJsBrowserDistribution
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./composeApp/build/dist/wasmJs/productionExecutable