diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index a9b58d014..d979651fd 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -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: