Skip to content

Commit 5f14992

Browse files
author
Di Wu
authored
ci: fix doc generation step (#2854)
1 parent 0f6e7bb commit 5f14992

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
generate_api_docs:
185185
<<: *defaults
186186
steps:
187-
- shallow_checkout
187+
- checkout
188188
- ruby/install-deps
189189
- run:
190190
name: Jazzy API doc generation

CircleciScripts/jazzy_doc_gen.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ set -e
77

88
echo "Working Directory: $CIRCLE_WORKING_DIRECTORY"
99

10+
git config user.email $GITHUB_EMAIL
11+
git config user.name $GITHUB_USER
12+
1013
cd $CIRCLE_WORKING_DIRECTORY
1114
bundle exec jazzy --swift-build-tool spm --build-tool-arguments -Xswiftc,-swift-version,-Xswiftc,5
1215
ln -s ../readme-images docs

0 commit comments

Comments
 (0)