我目前正在开始学习如何使用 Github Actions,并且遇到了身份验证问题,Github 能够检索我的用户名,但不能检索我的密码,这是错误(错误发生在Deploy to GH Pages上):
create mode 100644 static/media/flow.edad2ac1.svg
create mode 100644 static/media/plugin.d494b228.svg
create mode 100644 static/media/repo.6d496322.svg
create mode 100644 static/media/stackalt.dba9fbb3.svg
fatal: could not read Password for 'https://***@github.com': No such device or address
Run Code Online (Sandbox Code Playgroud)
我试图部署到 GH 页面,代码如下:
deployToGhPages:
name: Deploy to GH Pages
needs: [lint, tests]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: actions/setup-node@v2
with:
node-version: 16
- uses: actions/cache@v2
id: cache
with:
path: |
node_modules
*/*/node_modules
key: ${{ secrets.CACHE_VERSION }}-${{ runner.os …
Run Code Online (Sandbox Code Playgroud)