Skip to content

Commit c0021d6

Browse files
zhu-xiaoweixiaoweii
andauthored
fix: jazzy doc generate fail (#9)
Co-authored-by: xiaoweii <xiaoweii@amazom.com>
1 parent c0a8c62 commit c0021d6

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/jazzy_build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Jazzy build
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
jobs:
7+
jazzy-build:
8+
runs-on: macos-12
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: Generate docs
12+
run: jazzy
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ jobs:
2020
git add docs
2121
git commit -m "chore: update API docs"
2222
git push origin HEAD:gh-pages -f
23+
env:
24+
repo-token: ${{ secrets.GITHUB_TOKEN }}

.jazzy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ theme: apple
1212
build_tool_arguments:
1313
- -Xswiftc
1414
- -swift-version
15+
- -Xswiftc
1516
- "5"

0 commit comments

Comments
 (0)