mirror of
https://github.com/go-task/task.git
synced 2026-08-29 01:58:56 +02:00
docs: close two unterminated code fences and fix --trust flag name (#2955)
This commit is contained in:
@@ -229,7 +229,8 @@ remote Taskfiles:
|
||||
Sometimes you need to run Task in an environment that does not have an
|
||||
interactive terminal, so you are not able to accept a prompt. In these cases you
|
||||
are able to tell task to accept these prompts automatically by using the `--yes`
|
||||
flag or the `--trust` flag. The `--trust` flag allows you to specify trusted
|
||||
flag or the `--trusted-hosts` flag. The `--trusted-hosts` flag allows you to
|
||||
specify trusted
|
||||
hosts for remote Taskfiles, while `--yes` applies to all prompts in Task. You
|
||||
can also configure trusted hosts in your [taskrc configuration](#trusted-hosts) using
|
||||
`remote.trusted-hosts`. Before enabling automatic trust, you should:
|
||||
|
||||
@@ -194,3 +194,4 @@ temp-dir: .task
|
||||
# Enable experimental features
|
||||
experiments:
|
||||
REMOTE_TASKFILES: 1
|
||||
```
|
||||
|
||||
@@ -735,6 +735,7 @@ tasks:
|
||||
ref: .ALLOWED_ENVS
|
||||
cmds:
|
||||
- ./deploy.sh
|
||||
```
|
||||
|
||||
#### [`vars`](#variable)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user