Skip to content

chore(deps): update kotlin monorepo to v2.0.21 (#15) #36

chore(deps): update kotlin monorepo to v2.0.21 (#15)

chore(deps): update kotlin monorepo to v2.0.21 (#15) #36

Workflow file for this run

# This file was generated using Kotlin DSL (.github/workflows/deploy.main.kts).
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file.
# Generated with https://github.com/typesafegithub/github-workflows-kt
name: 'Deploy'
on:
push:
branches:
- 'main'
permissions:
contents: 'read'
pages: 'write'
id-token: 'write'
jobs:
check_yaml_consistency:
name: 'Check YAML consistency'
runs-on: 'ubuntu-latest'
steps:
- id: 'step-0'
name: 'Check out'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'Execute script'
run: 'rm ''.github/workflows/deploy.yaml'' && ''.github/workflows/deploy.main.kts'''
- id: 'step-2'
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/deploy.yaml'''
deploy:
runs-on: 'ubuntu-latest'
needs:
- 'check_yaml_consistency'
environment:
name: 'github-pages'
steps:
- id: 'step-0'
uses: 'actions/checkout@v4'
- id: 'step-1'
uses: 'gradle/actions/setup-gradle@v4'
- id: 'step-2'
run: './gradlew wasmJsBrowserDistribution'
- id: 'step-3'
uses: 'actions/configure-pages@v5'
- id: 'step-4'
uses: 'actions/upload-pages-artifact@v3'
with:
path: 'composeApp/build/dist/wasmJs/productionExecutable/'
- id: 'step-5'
uses: 'actions/deploy-pages@v4'