"Support for password authentication was removed" error #858
-
I am getting the error I am trying to use GH Actions to auto-gen my docs in (this repo), then PR them to the documentation website repo here. The relevant portion of my YAML: - name: deploy
uses: JamesIves/[email protected]
with:
token: ${{ secrets.ACCESS_TOKEN }}
repository-name: john-science/terrapower.github.io
commit-message: "${{ github.repository }}@${{ github.sha }}"
branch: master
folder: doc/_build/html
target-folder: armi My full error log is here, but in short the error I get: /usr/bin/git push --force ***github.com/john-science/terrapower.github.io.git github-pages-deploy-action/qzoaqahrc:master
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/john-science/terrapower.github.io.git/' Any help would be appreciated. I must have a hole in my understanding, because I don't grok the error message at all. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The issue appears to be a bad/faulty/misleading error message in the GitHub token API. Explanation here: #859 |
Beta Was this translation helpful? Give feedback.
-
If anyone else is coming here from Google... I got this same error message while trying to get started with a similar action, https://github.com/peaceiris/actions-gh-pages My problem was that I'd written this in my workflow config file:
But it actually needed to use double braces
As @john-science noted above, the error message from GitHub is very misleading. |
Beta Was this translation helpful? Give feedback.
The issue appears to be a bad/faulty/misleading error message in the GitHub token API.
Explanation here: #859