Skip to content

Commit

Permalink
Fix permissions on Haddock before deploying
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sellout committed Jan 28, 2024
1 parent 248db06 commit 265f3a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 265f3a9

Please sign in to comment.