Code Monkey home page Code Monkey logo

Comments (8)

JamesMGreene avatar JamesMGreene commented on May 27, 2024

ℹī¸ 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.

Gerschtli avatar Gerschtli commented on May 27, 2024

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.

cor avatar cor commented on May 27, 2024

@sempruijs looks like this is the issue you've been encountering

from deploy-pages.

yoannchaudet avatar yoannchaudet commented on May 27, 2024

We made changes recently around that which should help. Closing.

from deploy-pages.

gilice avatar gilice commented on May 27, 2024

@yoannchaudet are those changes merged/released yet? I ran into the same issue, with nix, too.

from deploy-pages.

yoannchaudet avatar yoannchaudet commented on May 27, 2024

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.

Gerschtli avatar Gerschtli commented on May 27, 2024

Why is it not possible to take care of necessary ownership requirements with this action? I am glad to help out.

from deploy-pages.

pinpox avatar pinpox commented on May 27, 2024

Running into this aswell. Is the chown still the way to use this?

from deploy-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.