feat(deploy): autodeploy off unless AUTODEPLOY=true
renovate-ci / validate-renovate (push) Successful in 2m1s
ci / lint-shellcheck (push) Successful in 24s
ci / lint-prettier (push) Successful in 6s
ci / lint-ruff (push) Successful in 2s
ci / lint-yaml (push) Successful in 2s
ci / lint-dockerfiles (push) Successful in 2s
ci / validate (push) Successful in 3s
ci / lint-compose (push) Successful in 16s
ci / lint-actionlint (push) Successful in 8s
ci / build (push) Failing after 18s
renovate-ci / validate-renovate (push) Successful in 2m1s
ci / lint-shellcheck (push) Successful in 24s
ci / lint-prettier (push) Successful in 6s
ci / lint-ruff (push) Successful in 2s
ci / lint-yaml (push) Successful in 2s
ci / lint-dockerfiles (push) Successful in 2s
ci / validate (push) Successful in 3s
ci / lint-compose (push) Successful in 16s
ci / lint-actionlint (push) Successful in 8s
ci / build (push) Failing after 18s
Pushes no longer reach the cluster by default; set the AUTODEPLOY repo variable to 'true' to re-enable, or dispatch manually. Skips propagate through the existing needs chain.
This commit is contained in:
1 parent
91dd749a29
commit
d0872bc918
1 file changed
+5
-5
@@ -39,12 +39,12 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
preflight:
|
preflight:
|
||||||
# Kill-switch for autodeploy: set the AUTODEPLOY repo variable to 'false'
|
# Autodeploy defaults to OFF: pushes deploy only when the AUTODEPLOY repo
|
||||||
# (Settings -> Actions -> Variables) and pushes stop reaching the cluster
|
# variable is set to 'true' (Settings -> Actions -> Variables). A manual
|
||||||
# with no commit. Unset means on. A manual Run workflow always bypasses
|
# Run workflow always bypasses the switch: dispatching it is the explicit
|
||||||
# the switch: dispatching it is the explicit intent to deploy.
|
# intent to deploy.
|
||||||
if: >-
|
if: >-
|
||||||
(vars.AUTODEPLOY != 'false' || github.event_name == 'workflow_dispatch') &&
|
(vars.AUTODEPLOY == 'true' || github.event_name == 'workflow_dispatch') &&
|
||||||
(github.event_name != 'workflow_run' ||
|
(github.event_name != 'workflow_run' ||
|
||||||
(github.event.workflow_run.conclusion == 'success' &&
|
(github.event.workflow_run.conclusion == 'success' &&
|
||||||
github.event.workflow_run.head_branch == 'main'))
|
github.event.workflow_run.head_branch == 'main'))
|
||||||
|
|||||||
Reference in new issue
Block a user