DEV Community

Discussion on: Create Deployment Pipeline for React App on Hostinger

Collapse
 
ariibansari profile image
ariibansari

Run s0/git-publish-subdir-action@develop

Cloning into '/tmp/git-publish-subdir-action-PeMhLU/repo'...

From github.com/ariibansari/sevaX-frontend

  • [new branch] build -> build

[info] Checking if branch build exists already

data build

Switched to branch 'build'

[info] Updating branch build

[info] Removing all files from target branch

[info] Copying all files from /home/runner/work/sevaX-frontend/sevaX-frontend/build

[info] Pushing

remote: Write access to repository not granted.
fatal: unable to access 'github.com/ariibansari/sevaX-front... The requested URL returned error: 403

Error: Process exited with code: 128:
remote: Write access to repository not granted.
fatal: unable to access 'github.com/ariibansari/sevaX-front... The requested URL returned error: 403

at ChildProcess.<anonymous> (/home/runner/work/_actions/s0/git-publish-subdir-action/develop/action/dist/index.js:11966:20)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Enter fullscreen mode Exit fullscreen mode
Collapse
 
mwoodson11 profile image
Mark Woodson

Hey @ariibansari are you pushing to your own repo's branch? Looking up similar issues that people have had, it most likely has something to do with the privacy settings! You could try to create a Personal Access Token to use instead of the secrets.GITHUB_TOKEN, but if that's not working please message me and I could try checking out your code/repo to see what the issue may be! Hope we can resolve the issue!

Collapse
 
angelsol299 profile image
Angel

were you able to solve the issue? can you help me? I have exactly the same issue.