Closed yammyxing closed 4 years ago
Let's try following:
- name: Push changes as deploy
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.push_secret_for_action }}
force: true
repository: "me.github.io"
Did like what you said, still got this like above.
Is there sth wrong? Confused
Did you add the secret in the repo in which you have the workflow? (github.com/.../.../settings/secrets)
Did you add the secret in the repo in which you have the workflow? (github.com/.../.../settings/secrets)
thx. It works
I'd like to push to my another repo
My action looks like this below:
And my repo's secret looks like this which value is from Personal Access Token:
But finally Got this:
I've also read this related issue about How to set GITHUB_TOKEN
But I still failed. Is there sth I've been misunderstanding ? Hope to get an answer, thanks.