【发布时间】:2020-04-03 07:18:58
【问题描述】:
当我使用 GitHub Actions 功能时,它会报告 Build and Deploy 错误:
Run renzhaosy/hexo-deploy-action@master
env:
PERSONAL_TOKEN:
PUBLISH_REPOSITORY: dipinxian/dipinxian.github.io
BRANCH: master
PUBLISH_DIR: ./public
/usr/bin/docker run --name af96b4eeb7a6302a0a421582dce43236b880a1_a6e7e6 --label af96b4 --workdir /github/workspace --rm -e PERSONAL_TOKEN -e PUBLISH_REPOSITORY -e BRANCH -e PUBLISH_DIR -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/dipinxin.github.io/dipinxin.github.io":"/github/workspace" af96b4:eeb7a6302a0a421582dce43236b880a1
您必须为操作提供个人访问令牌或 GitHub 令牌密码才能进行部署。
##[error]Docker run failed with exit code 1
【问题讨论】:
标签: github deployment token github-actions