-
-
Notifications
You must be signed in to change notification settings - Fork 398
Open
Labels
Description
Describe the bug
The folder I'm deploying is read-only, and permissions can't be changed. I don't know why it is important to modify the permissions in the first place, while I see a lot of warnings/errors, it seems to work just fine. It would be nice if those messages wouldn't be flooding the output.
Reproduction Steps
Use a folder that is read only and owned by root.
Logs
/usr/bin/chmod -R +rw /home/runner/work/contrast/contrast/result
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture/security-considerations.html': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture/attestation.html': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture/snp.html': Operation not permitted
...
Unable to modify permissions…Workflow
- name: Publish docs to GitHub Pages
if: env.PREVIEW == 'false'
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
with:
folder: ./result
branch: gh-pages
clean-exclude: pr-preview
force: falseAdditional Comments
No response