forked from github/pelican
Add GH pages action to fix file permissions (#3248)
This commit is contained in:
parent
7194cf5795
commit
d9b2bc3a4e
1 changed files with 5 additions and 0 deletions
5
.github/workflows/github_pages.yml
vendored
5
.github/workflows/github_pages.yml
vendored
|
|
@ -44,6 +44,11 @@ jobs:
|
|||
--settings "${{ inputs.settings }}" \
|
||||
--extra-settings SITEURL='"${{ steps.pages.outputs.base_url }}"' \
|
||||
--output "${{ inputs.output-path }}"
|
||||
- name: Fix permissions
|
||||
run: |
|
||||
chmod -c -R +rX "${{ inputs.output-path }}" | while read line; do
|
||||
echo "::warning title=Invalid file permissions automatically fixed::$line"
|
||||
done
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue