JamesIves/github-pages-deploy-action

remote: Permission denied when publish to anonter repository

lkzwc opened this issue · 5 comments

lkzwc commented

Describe the bug

i want to build the ffd repository code and to publish lkzwc.github.io repository

this some steps:

  1. create keys "Deploy"
    image
  2. add key "Deploy" to ffd and lkzwc.github.io repository
  3. change the two repository workflow permissions write and read

Reproduction Steps

Logs

this is result : https://github.com/lkzwc/fe-ddu/actions/runs/4060485280/jobs/6990111902

Workflow

https://github.com/lkzwc/fe-ddu/blob/main/.github/workflows/node.js.yml

Additional Comments

I encountered the same situation as you

Encountering the same but only intermittently, which strikes me as odd.

Did you just provide workflow access? It needs repo write/read too.

I had the same problem and I made sure the workflow has write permission

image

But I wonder if there is more for cross repo workflows.

I had the same problem and I made sure the workflow has write permission我遇到了同样的问题,我确保工作流具有写入权限

image But I wonder if there is more for cross repo workflows.但我想知道是否还有更多用于跨存储库工作流的内容。

Do this do not work.
You should check this.

截屏2024-03-31 下午7 49 41