mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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 }}" \
|
--settings "${{ inputs.settings }}" \
|
||||||
--extra-settings SITEURL='"${{ steps.pages.outputs.base_url }}"' \
|
--extra-settings SITEURL='"${{ steps.pages.outputs.base_url }}"' \
|
||||||
--output "${{ inputs.output-path }}"
|
--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
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue