Comments (8)
âšī¸ While it's not a complete fix, as this should indeed be handled on the server-side eventually, we have added a partial fix to the actions/upload-pages-artifact
Action that should clear out such permissions: actions/upload-pages-artifact#34
Since you are using that Action with @v1
already, your future workflow runs will hopefully be successful without your cp ...
workaround.
Please let us know if you're still running into issues.
from deploy-pages.
The permission problem itself might be resolved but in the example of OP, the directory for deployment is a symlink itself where the contents of ./result
is not writeable. Judged by the warnings that should have been printed, your fix does not work for these cases, see https://github.com/Gerschtli/nix-formatter-pack/actions/runs/3499580588/jobs/5861357357.
Probably because chmod is running in .
instead of inputs.path
. But because chmod is not derefencing symlinks that may exist in inputs.path
, you should probably run the cp --recursive --dereference
before doing chmod.
from deploy-pages.
@sempruijs looks like this is the issue you've been encountering
from deploy-pages.
We made changes recently around that which should help. Closing.
from deploy-pages.
@yoannchaudet are those changes merged/released yet? I ran into the same issue, with nix, too.
from deploy-pages.
The permissions fix is included in https://github.com/actions/upload-pages-artifact/releases/tag/v1.0.6.
It's best effort and we don't change ownership on the files. If that's your issue, I am afraid you will need to handle that yourself with an extra chown
command.
from deploy-pages.
Why is it not possible to take care of necessary ownership requirements with this action? I am glad to help out.
from deploy-pages.
Running into this aswell. Is the chown still the way to use this?
from deploy-pages.
Related Issues (20)
- `error_count` input name is confusing HOT 6
- Connection times out when trying to access a generated webpage, despite "successfully" deploying it. HOT 2
- Upgrade `@octokit/request.js` to `v8.1.5` after updating to run on `node20`
- Unable to deploy, task marked as completed but the artifact is not uploaded HOT 2
- Add rough error handler for Octokit response parsing failures to `1.x` and `2.x` release
- HttpError: Invalid environment node id HOT 6
- Is there a way to use this in the composite action? HOT 3
- [QUESTION] Is it possible to deploy a single file without losing existent files? HOT 1
- Actions fail after update actions/deploy-pages to v4 and actions/upload-pages-artifact to v3 HOT 17
- Failing to fetch artifact metadata since 4.0.0 HOT 8
- Bump to V4 broke the deploy step HOT 9
- Remove requirement for `actions: read` permission HOT 1
- Unhelpful Error HOT 5
- Page Deployment Failing Periodically with Timeouts since Upgrade to v4 HOT 1
- Getting "Fetching artifact metadata failed." HOT 3
- Confusing error when trying to deploy Rust docs HOT 6
- CNAME file doesn't work to set custom domain
- Error: No artifacts named "github-pages" were found for this workflow run. HOT 5
- Deploy to another repository HOT 2
- GitHub Enterprise Server 3.11.5 compatibility HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy-pages.