-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 785 Bytes
/
docs.yml
File metadata and controls
32 lines (30 loc) · 785 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
32
name: Docs
on:
push:
branches:
- main
jobs:
deploy:
name: Docs Deploy
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 24
- name: Build
run: |
./mill -i cli.jvm.assembly
cp out/cli/jvm/assembly.dest/out.jar ./flatmark
chmod +x ./flatmark
export FLATMARK_BASE_URL=https://sake92.github.io/flatmark
./flatmark build -i docs
- name: Deploy to GH Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/_site/