fix(ci): use a valid mirror toggle
This commit is contained in:
parent
f4e1c5aa1c
commit
12ac14f709
2 changed files with 2 additions and 2 deletions
|
|
@ -201,7 +201,7 @@ jobs:
|
||||||
run: rm -rf .ci
|
run: rm -rf .ci
|
||||||
|
|
||||||
mirror:
|
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
|
needs: deploy
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ Forgejo UI:
|
||||||
`git@github.com:Fi3w0/Nereus.git`.
|
`git@github.com:Fi3w0/Nereus.git`.
|
||||||
|
|
||||||
After registering that deploy key, set the Forgejo Actions repository variable
|
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.
|
are configured, so an absent GitHub credential cannot break production deploys.
|
||||||
|
|
||||||
The workflow never prints these values. It writes the kubeconfig to the
|
The workflow never prints these values. It writes the kubeconfig to the
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue