GithubHelp home page GithubHelp logo

Comments (5)

ad-m avatar ad-m commented on August 20, 2024

Did you pass SSH key in secrets.DEPLOY_PRIVATE_KEY?

from github-push-action.

matmu avatar matmu commented on August 20, 2024

Did you pass SSH key in secrets.DEPLOY_PRIVATE_KEY?

Yes. Just checked it again. Under Settings -> Secrets there is the variable "DEPLOY_PRIVATE_KEY"

from github-push-action.

ad-m avatar ad-m commented on August 20, 2024

Use GitHub Token instead of SSH keys. See details at https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token .

from github-push-action.

matmu avatar matmu commented on August 20, 2024

I created a Github Token for my account and updated the secret accordingly. Now I am getting the following error:

Run ad-m/github-push-action@master
Started: bash /home/runner/work/_actions/ad-m/github-push-action/master/start.sh
Push to branch master
remote: Permission to matmu/MouseFM-Backend.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/matmu/MouseFM-Backend.git/': The requested URL returned error: 403
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/ad-m/github-push-action/master/start.js:9:19)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {
  code: 128
}
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/ad-m/github-push-action/master/start.js:9:19)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

I gave the token full scope.

from github-push-action.

ad-m avatar ad-m commented on August 20, 2024

Why did you close that issue? Could you share you solution for community?

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