Skip to content

Add dark mode support #5

Add dark mode support

Add dark mode support #5

Workflow file for this run

name: Pages Build and Deployment
on:
push:
branches:
- main # Adjust to your default branch
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17' # Adjust to your project's requirements
- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build WASM project
run: ./gradlew :composeApp:wasmJsBrowserDistribution
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: composeApp/build/dist/wasmJs/productionExecutable
enable_jekyll: false