Skip to content

Commit

Permalink
Fix invalid permissions (#410)
Browse files Browse the repository at this point in the history
The website deployment action has been failing lately. Looking at the issue, it seems to be related to actions/deploy-pages#188 that is due to https://github.com/actions/upload-pages-artifact#file-permissions.
  • Loading branch information
rgrandl authored Jun 21, 2023
1 parent a4a3f37 commit e7a0ddf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v3

# Set the right file permissions, based on https://github.com/actions/upload-pages-artifact#file-permissions.
- shell: sh
run: |
chmod -c -R +rX "website/public" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down

0 comments on commit e7a0ddf

Please sign in to comment.