Skip to content

Renamed "World" to "Cluster" and "Cluster" to "ClusterType" to be mor… #225

Renamed "World" to "Cluster" and "Cluster" to "ClusterType" to be mor…

Renamed "World" to "Cluster" and "Cluster" to "ClusterType" to be mor… #225

Workflow file for this run

name: GitHub Pages
on: [ push, pull_request ]
jobs:
build:
name: Build Kotlin/Wasm
runs-on: ubuntu-latest
steps:
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Checkout code
uses: actions/checkout@v3
- name: Run Gradle Tasks
run: |
chmod +x gradlew
./gradlew build allTests wasmJsBrowserDistribution
- name: Fix permissions
run: |
chmod -v -R +rX "app/build/dist/wasmJs/productionExecutable/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: app/build/dist/wasmJs/productionExecutable/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4