reuixiy / hugo-theme-meme

😝 You can’t spell awesome without MemE!
https://io-oi.me/hugo-theme-meme
MIT License
1.01k stars 279 forks source link

求助, 部署失败 #393

Closed Borber closed 2 years ago

Borber commented 2 years ago

https://github.com/Borber/blog/runs/7351664977?check_suite_focus=true

Run reuixiy/hugo-deploy@v1
/usr/bin/docker run --name cd98f[7](https://github.com/Borber/blog/runs/7351664977?check_suite_focus=true#step:3:8)456f2fb6eee4e94b6[8](https://github.com/Borber/blog/runs/7351664977?check_suite_focus=true#step:3:9)061ef368ea668_606fa3 --label 4cd[9](https://github.com/Borber/blog/runs/7351664977?check_suite_focus=true#step:3:10)8f --workdir /github/workspace --rm -e DEPLOY_REPO -e DEPLOY_BRANCH -e DEPLOY_KEY -e TZ -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=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/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/blog/blog":"/github/workspace" 4cd98f:7456f2fb6eee4e94b68061ef368ea668
# github.com:22 SSH-2.0-babeld-01b97e8f
Cloning into 'site'...
Submodule 'themes/meme' (https://github.com/reuixiy/hugo-theme-meme.git) registered for path 'themes/meme'
Cloning into '/github/workspace/site/themes/meme'...
Submodule path 'themes/meme': checked out '60de71479c38fda11[10](https://github.com/Borber/blog/runs/7351664977?check_suite_focus=true#step:3:11)03f7baf9c2cac8ca73836'
Error: "/github/workspace/site/config.toml:1:1": unmarshal failed: toml: key alu2 is already defined
Total in 0 ms
reuixiy commented 2 years ago

TOML 有重复的 key,应该是这行的问题

https://github.com/Borber/blog/blob/1eaa9a3c034ba313646faa224a71f42d6558580d/config.toml#L641

Borber commented 2 years ago

TOML 有重复的 key,应该是这行的问题

https://github.com/Borber/blog/blob/1eaa9a3c034ba313646faa224a71f42d6558580d/config.toml#L641

搞定了, 虽然我很久没改这个文件了, 也不知道之前是怎么部署成功的... 可能是上游突然更新了什么吧. 谢啦