diff --git a/.github/workflows/deploy-docs-versioned.yml b/.github/workflows/deploy-docs-versioned.yml index 48022f1..12570d5 100644 --- a/.github/workflows/deploy-docs-versioned.yml +++ b/.github/workflows/deploy-docs-versioned.yml @@ -26,6 +26,9 @@ jobs: fetch-depth: 0 submodules: recursive + - name: Mark workspace as safe for Git versioning + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Stage cuvis.h for Doxygen run: | mkdir -p docs/_api_sources diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index f603dd4..208e93d 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -2,7 +2,8 @@ name: Deploy docs to GitHub Pages (nightly) on: push: - branches: [main] + branches: [main, hotfix/fix_gh_pages_deploy] + permissions: contents: write @@ -25,6 +26,9 @@ jobs: fetch-depth: 0 submodules: recursive + - name: Mark workspace as safe for Git versioning + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Stage cuvis.h for Doxygen run: | mkdir -p docs/_api_sources