Repository navigation
The hub server's login and address are release secrets - #10
Merged
Merged
Conversation
VPS_SSH_HOST and VPS_SSH_KNOWN_HOSTS were repo variables, which the public repo's Actions logs print. They're now secrets in the release environment, so GitHub masks them; ci/ssh-key.sh also masks the login and the address on their own, since ssh and known_hosts print the address alone. A job's `if` can't read secrets, so publish-get and deploy-hub check HAS_VPS in their steps. check-public-ready.sh checks both are release secrets and no longer repo variables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
VPS_SSH_HOST(the login and the server's IP) andVPS_SSH_KNOWN_HOSTSwere repo variables, and the public repo's Actions logs print variables in full. This moves them to secrets of thereleaseenvironment, which I've already created with the same values.release.ymlreads them fromsecrets. A job'sifcan't read secrets, sopublish-getanddeploy-hubsetHAS_VPS(whether the host secret is set, not its value) and check it in their steps.ci/ssh-key.shtakesSSH_HOSTand masks the login and the address separately for the rest of the job, becausessh,scpandknown_hostsprint the address on its own.check-public-ready.shnow requires both as release environment secrets and fails while either is still a repo variable. There's a test for that.docs/cli-downloads.mddescribes them as secrets.After merge I delete the two repo variables. The next release is the first real run of the new path. The full test suite and typecheck pass.
🤖 Generated with Claude Code