From 265f3a926f0e3e0532829685be97275bf3aea830 Mon Sep 17 00:00:00 2001 From: Greg Pfeil Date: Sun, 28 Jan 2024 09:00:09 -0700 Subject: [PATCH] Fix permissions on Haddock before deploying MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s difficult to test branch-specific GitHub workflows like this, so the final deployment bits couldn’t be tested before merging the previous PR. --- .github/workflows/pages.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index bef3627a..35f94ae8 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -23,6 +23,9 @@ jobs: --haddock-option='--use-index=../doc-index.html' \ --local \ --output=_site + ## Fix permissions to match the action’s expectations (see + ## https://github.com/actions/upload-pages-artifact#file-permissions) + chmod -c -R +rX "_site/" - name: Upload artifact uses: actions/upload-pages-artifact@v3 deploy: