Skip to content

Commit

Permalink
Revert "No longer need to fix file permissions" (#36)
Browse files Browse the repository at this point in the history
This reverts commit da89835.
  • Loading branch information
SilverRainZ authored Feb 4, 2024
1 parent 124a171 commit 69fc0bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@ runs:
uses: actions/configure-pages@v2
if: ${{ inputs.publish == 'true' }}

- name: Fix file permissions
shell: sh
if: runner.os == 'Linux'
# https://github.com/actions/deploy-pages/issues/188
run: |
chmod -c -R +rX "$INPUT_PATH" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
env:
INPUT_PATH: ${{ steps.build.outputs.artifact }}

- name: Upload artifact
uses: SilverRainZ/upload-pages-artifact@main
if: ${{ inputs.publish == 'true' }}
Expand Down

0 comments on commit 69fc0bd

Please sign in to comment.