Closed bradenhilton closed 1 year ago
Thanks for reporting this! I think the deploy-website
step of the release process failed. I'll investigate.
In the short term I've run cd assets/chezmoi.io && mkdocs gh-deploy
to redeploy the website, and it seems to be working again now.
Just refreshed and can confirm everything looks okay now.
https://github.com/twpayne/chezmoi/commit/d6da479e158236e14c584f5a0e915c70bf3c8370 "updated" cpina/github-action-push-to-another-repository
to commit 940a285
, which is from 2021-04-29T21:45:48Z.
Before this, the build-website
job for v2.25.0
used https://github.com/cpina/github-action-push-to-another-repository/commit/9e487f29582587eeb4837c0552c886bb0644b6b9, which is the latest commit at time of posting.
Thanks for the investigation. The failure for https://chezmoi.io occurs in the push-chezmoi.io
step (logs). A few things are going wrong here:
The problems with push-get.chezmoi.io
are due to a missing access token.
@twpayne There is one other change in the action which may be actionable, because the branch default changed from master
to main
, here.
The remaining changes are large but mostly harmless from what I can tell. I don’t know whether the configuration change would affect chezmoi.
The problems with
push-get.chezmoi.io
are due to a missing access token.
@twpayne If you're referring to the error message /entrypoint.sh: line 32: API_TOKEN_GITHUB: parameter not set
, I don't believe this is the case.
Per
you can pass either API_TOKEN_GITHUB
or SSH_DEPLOY_KEY
, and we pass SSH_DEPLOY_KEY
:
Run cpina/github-action-push-to-another-repository@940a2857e598a6392bd336330b07416c1ae8ea1f
with:
...
env:
...
SSH_DEPLOY_KEY: ***
/usr/bin/docker run ... -e "SSH_DEPLOY_KEY" ...
@halostatue The build-website
job for v2.25.0
already used https://github.com/cpina/github-action-push-to-another-repository/commit/9e487f29582587eeb4837c0552c886bb0644b6b9: (link) and I don't recall the website breaking.
Just to further confirm this, note the output and compare it to the echo
s from each commit:
build-website
job output:
...
[+] Action start
[+] Using SSH_DEPLOY_KEY
# github.com:22 SSH-2.0-babeld-f33ee42f
# github.com:22 SSH-2.0-babeld-f33ee42f
# github.com:22 SSH-2.0-babeld-f33ee42f
# github.com:22 SSH-2.0-babeld-f33ee42f
# github.com:22 SSH-2.0-babeld-f33ee42f
[+] Git version
git version 2.36.2
[+] Cloning destination git repository get.chezmoi.io
...
...
echo "[+] Action start"
...
echo "[+] Using SSH_DEPLOY_KEY"
...
build-website
job output:
...
Starts
Cloning destination git repository
/entrypoint.sh: line 32: API_TOKEN_GITHUB: parameter not set
...
echo "Starts"
...
echo "Cloning destination git repository"
...
Describe the bug
The following URLs show
404 - Not found
:Home
in the navigationReference -> Configuration File -> Variables
Reference -> Release history
Links
in the navigationTo reproduce
Visit any of the URLs above.
Expected behavior
The URLs should not show a 404 error.
Output of command with the
--verbose
flagNA.
Output of
chezmoi doctor
NA.
Additional context
NA.