-
-
Notifications
You must be signed in to change notification settings - Fork 424
31 lines (29 loc) · 728 Bytes
/
deploy.yml
File metadata and controls
31 lines (29 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Deploy
on:
workflow_call:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-24.04-arm
if: github.event.repository.fork == false
environment:
name: github-pages
permissions:
id-token: write
pages: write
steps:
- uses: actions/checkout@v6
- uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
- name: Prepare API documentation
run: ./gradlew dokkaGenerate
- name: Build Site
run: |
# Don't cache it to track updates.
pip install mkdocs-material
mkdocs build
- uses: actions/upload-pages-artifact@v4
with:
path: site
- uses: actions/deploy-pages@v4