Added GH pages action to fix file permissions.

This commit is contained in:
Vivek Bharadwaj 2023-11-17 17:45:49 -08:00
commit bf1db27719
2 changed files with 8 additions and 0 deletions

View file

@ -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:

3
RELEASE.md Normal file
View file

@ -0,0 +1,3 @@
Release type: patch
Added Github pages action to fix files with invalid permissions in output file directory.