Coder Social home page Coder Social logo

Comments (6)

MLKiiwy avatar MLKiiwy commented on August 16, 2024 1

I confirm I get the same error but I found why: nothing related to your permissions.

The field BUILD_SCRIPT is mandatory because if you not modify your branch during the process the two branches are going to be equal so this line: https://github.com/JamesIves/github-pages-deploy-action/blob/master/entrypoint.sh#L87 will not add anything because what you want to add is already part of your repo.

So if your folder is /src it's already commited on master so the script fail.

To fix it:

FOLDER: dist
BUILD_SCRIPT: mkdir dist && mv src/* dist

Yep that's a bit stupid.

I suggest to change the last lines of the entryscript, to use git worktree.
I'll try to open a PR.

from github-pages-deploy-action.

vhoyer avatar vhoyer commented on August 16, 2024

probably the #5 error, so I'll close this issue and watch the other, sorry for opening the redundant issue :D

from github-pages-deploy-action.

vhoyer avatar vhoyer commented on August 16, 2024

ok, it wasn't it

from github-pages-deploy-action.

JamesIves avatar JamesIves commented on August 16, 2024

Can you verify that your GitHub token has the correct permissions granted? This is a pretty vague error.

from github-pages-deploy-action.

JamesIves avatar JamesIves commented on August 16, 2024

Appreciate that, thanks @MLKiiwy !

from github-pages-deploy-action.

JamesIves avatar JamesIves commented on August 16, 2024

The changes referenced by @MLKiiwy are all available in the v3 beta. If you wouldn't mind giving it a try you can use it using JamesIves/github-pages-deploy-action@releases/v3-beta. If you spot any issues please let me know!

from github-pages-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.