Skip to content

Commit 69fc0bd

Browse files
authored
Revert "No longer need to fix file permissions" (#36)
This reverts commit da89835.
1 parent 124a171 commit 69fc0bd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

action.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,18 @@ runs:
104104
uses: actions/configure-pages@v2
105105
if: ${{ inputs.publish == 'true' }}
106106

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+
107119
- name: Upload artifact
108120
uses: SilverRainZ/upload-pages-artifact@main
109121
if: ${{ inputs.publish == 'true' }}

0 commit comments

Comments
 (0)