File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,17 @@ runs:
101101 uses : actions/configure-pages@v2
102102 if : ${{ inputs.publish == 'true' }}
103103
104+ - name : Fix file permissions
105+ shell : sh
106+ if : runner.os == 'Linux'
107+ run : |
108+ chmod -c -R +rX "$INPUT_PATH" |
109+ while read line; do
110+ echo "::warning title=Invalid file permissions automatically fixed::$line"
111+ done
112+ env :
113+ INPUT_PATH : ${{ steps.build.outputs.artifact }}
114+
104115 - name : Upload artifact
105116 uses : actions/upload-pages-artifact@v1
106117 if : ${{ inputs.publish == 'true' }}
@@ -109,5 +120,5 @@ runs:
109120
110121 - id : deployment
111122 name : Deploy to GitHub Pages
112- uses : actions/deploy-pages@v1
123+ uses : actions/deploy-pages@v2
113124 if : ${{ inputs.publish == 'true' }}
You can’t perform that action at this time.
0 commit comments