Github Pages artifact upload fails with "Operation not permitted" error
ebanDev opened this issue · 7 comments
Summary
When deploying a Github Pages artifact, the upload fails with the error message "Operation not permitted".
Steps to reproduce
- Clone the repository.
- Start the workflow.
Error code
The deployment fails with the following error message:
chmod: changing permissions of '/webvm_deploy/debian_mini_20231217_7240414833.ext2.c001121.txt': Operation not permitted
Here is my repo : https://github.com/ebanDev/WebsiteTerminal/actions/runs/7240414833/job/19723376563
The error is not fatal. Is something actually not working?
Are you sure GH pages are enabled for your fork?
Looks like something broke on GitHub's side - thanks for the report.
https://github.com/orgs/community/discussions/79266 recommended that we upgrade the actions/upload-pages-artifact
and actions/deploy-pages
to their latest versions, but this doesn't seem to work for us. Instead, it seems upgrading actions/upload-pages-artifact
from v1 to v2 fixes it.
Fixed in 36db7dd.