Skip to content

🗑️ chore: cleaning #94

🗑️ chore: cleaning

🗑️ chore: cleaning #94

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
if: github.event_name == 'workflow_dispatch' || startsWith(github.event.head_commit.message, '[release]')
name: Build wasm target
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Build Web App
run: ./gradlew :webDemo:wasmJsBrowserDistribution
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: webDemo/build/dist/wasmJs/productionExecutable
deploy:
name: Deploy to GitHub Pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4