leaningtech/webvm

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

  1. Clone the repository.
  2. 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?

image
Yes, it says on the deploy_to_github_pages step : Error: Error: No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.

Are you sure GH pages are enabled for your fork?

https://github.com/leaningtech/webvm#fork-deploy-customize

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.

Hi ! I tried to fork again the project and to deploy it, but I can't select Github Actions as the source for Pages. When I click on the button simply nothing happens and I get this error code
image