Skip to content

The hub server's login and address are release secrets - #10

Merged
hyorman merged 1 commit into
mainfrom
vps-settings-secrets
Dec 2, 2026
Merged

hyorman merged 1 commit into
mainfrom
vps-settings-secrets

Conversation

@hyorman

@hyorman hyorman commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

VPS_SSH_HOST (the login and the server's IP) and VPS_SSH_KNOWN_HOSTS were repo variables, and the public repo's Actions logs print variables in full. This moves them to secrets of the release environment, which I've already created with the same values.

  • release.yml reads them from secrets. A job's if can't read secrets, so publish-get and deploy-hub set HAS_VPS (whether the host secret is set, not its value) and check it in their steps.
  • ci/ssh-key.sh takes SSH_HOST and masks the login and the address separately for the rest of the job, because ssh, scp and known_hosts print the address on its own.
  • check-public-ready.sh now requires both as release environment secrets and fails while either is still a repo variable. There's a test for that.
  • docs/cli-downloads.md describes 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

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>
@hyorman
hyorman merged commit db4761b into main Dec 2, 2026
2 checks passed
@hyorman
hyorman deleted the vps-settings-secrets branch December 2, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant