Skip to content

Commit

Permalink
Fix invalid permissions
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 004abd4 commit 3b288e8
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 3b288e8

Please sign in to comment.