Skip to content

Commit

Permalink
Need to mark source directory as "safe" for git to perform actions du…
Browse files Browse the repository at this point in the history
…ring docs build (#314)

* Need to mark the github workspace as "safe" for the Sphinx build to work correctly

* Test docs build without deploying

* Test docs build without deploying

* trying to mark workspace as "safe"

* removing test conditions
  • Loading branch information
tnixon authored Apr 17, 2023
1 parent 8270aa6 commit 307e5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build HTML
uses: ammaraskar/[email protected]
with:
pre-build-command: "apt-get update -y && apt-get install -y git"
pre-build-command: "apt-get update -y && apt-get install -y git && git config --global --add safe.directory /github/workspace"
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 307e5f8

Please sign in to comment.