We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124a171 commit 69fc0bdCopy full SHA for 69fc0bd
action.yml
@@ -104,6 +104,18 @@ runs:
104
uses: actions/configure-pages@v2
105
if: ${{ inputs.publish == 'true' }}
106
107
+ - name: Fix file permissions
108
+ shell: sh
109
+ if: runner.os == 'Linux'
110
+ # https://github.com/actions/deploy-pages/issues/188
111
+ run: |
112
+ chmod -c -R +rX "$INPUT_PATH" |
113
+ while read line; do
114
+ echo "::warning title=Invalid file permissions automatically fixed::$line"
115
+ done
116
+ env:
117
+ INPUT_PATH: ${{ steps.build.outputs.artifact }}
118
+
119
- name: Upload artifact
120
uses: SilverRainZ/upload-pages-artifact@main
121
0 commit comments