fix(ci): use a valid mirror secret name
Some checks failed
CI and deploy / verify (push) Has been cancelled
CI and deploy / publish (push) Has been cancelled
CI and deploy / deploy (push) Has been cancelled
CI and deploy / mirror (push) Has been cancelled

This commit is contained in:
Alex 2026-08-28 01:25:29 +02:00
parent 538dee3cce
commit daa85d63a1
2 changed files with 4 additions and 4 deletions

View file

@ -212,11 +212,11 @@ jobs:
- name: Push main to GitHub
env:
GITHUB_MIRROR_SSH_KEY: ${{ secrets.GITHUB_MIRROR_SSH_KEY }}
MIRROR_SSH_KEY: ${{ secrets.MIRROR_SSH_KEY }}
run: |
test -n "$GITHUB_MIRROR_SSH_KEY"
test -n "$MIRROR_SSH_KEY"
install -d -m 0700 .ci/mirror
printf '%s\n' "$GITHUB_MIRROR_SSH_KEY" >.ci/mirror/id_ed25519
printf '%s\n' "$MIRROR_SSH_KEY" >.ci/mirror/id_ed25519
chmod 0600 .ci/mirror/id_ed25519
cat >.ci/mirror/known_hosts <<'EOF'
github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl

View file

@ -21,7 +21,7 @@ Forgejo UI:
- `REGISTRY_USERNAME`: account allowed to push the three Nereus packages.
- `REGISTRY_PASSWORD`: package-scoped token for that account.
- `KUBECONFIG_B64`: base64 encoding of a least-privilege deployment kubeconfig.
- `GITHUB_MIRROR_SSH_KEY`: private half of a write-enabled deploy key for
- `MIRROR_SSH_KEY`: private half of a write-enabled deploy key for
`git@github.com:Fi3w0/Nereus.git`.
After registering that deploy key, set the Forgejo Actions repository variable