From bf1db27719552c7d5704b6c964cefe8284651755 Mon Sep 17 00:00:00 2001 From: Vivek Bharadwaj Date: Fri, 17 Nov 2023 17:45:49 -0800 Subject: [PATCH] Added GH pages action to fix file permissions. --- .github/workflows/github_pages.yml | 5 +++++ RELEASE.md | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 RELEASE.md diff --git a/.github/workflows/github_pages.yml b/.github/workflows/github_pages.yml index ccf172b4..7eae170a 100644 --- a/.github/workflows/github_pages.yml +++ b/.github/workflows/github_pages.yml @@ -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: diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 00000000..7d2db656 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,3 @@ +Release type: patch + +Added Github pages action to fix files with invalid permissions in output file directory.