Git Product home page Git Product logo

Comments (5)

luz-ojeda avatar luz-ojeda commented on May 17, 2024 6

Fixed it. I had to configure Workflow permissions to "Read an write permissions" in the repo settings -> Actions -> General, to the bottom of the page. It was set to "Read repository contents and package permissions" by default.

image

from jekyll-deploy-action.

AlexStormwood avatar AlexStormwood commented on May 17, 2024 3

Can confirm, this was an issue for me and the change to permissions fixed this issue for me as well. It'd be worthwhile to put a note about this in the project's readme - it's the only hurdle that I had in getting this awesome action to work!

from jekyll-deploy-action.

davidalpert avatar davidalpert commented on May 17, 2024 1

if you do not want to change the default workflow permissions you can also set permissions for this workflow alone.

add something like this permissions block to your workflow:

...

jobs:
  build_and_deploy:
    runs-on: ubuntu-latest

    # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
    permissions:
      contents: write # read to check out code / write enables push to the configured branch (e.g. gh-pages)
      pages: write

    steps:
      - uses: actions/checkout@v2

     ...

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on May 17, 2024

Hi @lezojeda

Thanks for your issue, and it's so glad to hear that you've solved the problem. And welcome to star this project for further update in the future.

Thanks & Regards

from jekyll-deploy-action.

indie-rok avatar indie-rok commented on May 17, 2024

@lezojeda Made the trick! Thank you

from jekyll-deploy-action.

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.