Skip to content

Update Wiki

Update Wiki #31

Workflow file for this run

name: Update Wiki
on:
schedule:
- cron: "0 13 * * 1" # Runs every Monday at 9 am EST
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build documentation
run: ./gradlew dokkaGfm --scan --no-daemon
- name: Upload Documentation to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
path: "Documentation/gfm"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_MANAGEMENT }}