Skip to content

Rename XCode projects (#97) #124

Rename XCode projects (#97)

Rename XCode projects (#97) #124

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy_docs:
runs-on: macos-14
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install mkdocs mkdocs-material mkdocs-video "mkdocs-material[imaging]"
- uses: gradle/gradle-build-action@v3
- run: ./gradlew :dokkaHtmlMultiModule --no-configuration-cache
- name: Build site
run: mkdocs build
- name: Copy Dokka output to site
run: cp -r build/dokka/htmlMultiModule/ site/api/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4