From 12ac14f70917cb59a097fe4dd9c3dd9d690f9de5 Mon Sep 17 00:00:00 2001 From: Fi3w0 Date: Fri, 28 Aug 2026 01:04:26 +0200 Subject: [PATCH] fix(ci): use a valid mirror toggle --- .forgejo/workflows/pipeline.yml | 2 +- docs/ci-cd.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/pipeline.yml b/.forgejo/workflows/pipeline.yml index 4ba8d09..4d48ff3 100644 --- a/.forgejo/workflows/pipeline.yml +++ b/.forgejo/workflows/pipeline.yml @@ -201,7 +201,7 @@ jobs: run: rm -rf .ci mirror: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && vars.GITHUB_MIRROR_ENABLED == 'true' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && vars.MIRROR_ENABLED == 'true' needs: deploy runs-on: docker steps: diff --git a/docs/ci-cd.md b/docs/ci-cd.md index d6ca446..bef1da7 100644 --- a/docs/ci-cd.md +++ b/docs/ci-cd.md @@ -25,7 +25,7 @@ Forgejo UI: `git@github.com:Fi3w0/Nereus.git`. After registering that deploy key, set the Forgejo Actions repository variable -`GITHUB_MIRROR_ENABLED` to `true`. The mirror job stays skipped until both sides +`MIRROR_ENABLED` to `true`. The mirror job stays skipped until both sides are configured, so an absent GitHub credential cannot break production deploys. The workflow never prints these values. It writes the kubeconfig to the