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