Is it possible to disable a task? #2230
-
Like this: healthcheck_prd_env:
disabled: true # We will enable this task when we have deployed the prd environment.
cmds:
- curl https://production.our-server.example.com/healthcheck Workaround:
|
Beta Was this translation helpful? Give feedback.
Answered by
pd93
May 1, 2025
Replies: 1 comment 1 reply
-
There is currently no way to "disable" a task. As you said, commenting the code does the same thing. Are you asking for a dynamic switch to enable/disable tasks? Perhaps you could give more details about your use-case. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
your-diary
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is currently no way to "disable" a task. As you said, commenting the code does the same thing. Are you asking for a dynamic switch to enable/disable tasks? Perhaps you could give more details about your use-case.