Skip to content

Commit

Permalink
ci: mkdocs conditional cache, set safe dir
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 29, 2023
1 parent 17e26d7 commit fe81215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/mkdocs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
uses: actions/checkout@v4

- name: Read cache
if: ${{ inputs.cache_key != "" }}
uses: actions/cache@v3
with:
path: |
Expand All @@ -46,5 +47,5 @@ jobs:

- name: Publish
run: |
chmod -R 777 .
git config --global --add safe.directory ${{ github.workspace }}
${{ inputs.prepend_command }} mkdocs gh-deploy --force

0 comments on commit fe81215

Please sign in to comment.