You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also include a Taskfile from a Git node. We currently support ssh-style and http / https addresses like `[email protected]/foo/bar.git//Taskfiles.yml?ref=v1` and `https://example.com/foo/bar.git//Taskfiles.yml?ref=v1`.
68
+
69
+
You need to follow this pattern : `<baseUrl>.git//<path>?ref=<ref>`.
70
+
The `ref` parameter, optional, can be a branch name or a tag, if not provided it'll pick up the default branch.
71
+
The `path` is the path to the Taskfile in the repository.
72
+
73
+
If you want to use the SSH protocol, you need to make sure that your ssh-agent has your private ssh keys added so that they can be used during authentication.
74
+
65
75
## Security
66
76
67
77
Running commands from sources that you do not control is always a potential
|`TASK_TEMP_DIR`|`.task`| Location of the temp dir. Can relative to the project like `tmp/task` or absolute like `/tmp/.task` or `~/.task`. |
14
-
|`TASK_REMOTE_DIR`|`TASK_TEMP_DIR`| Location of the remote temp dir (used for caching). Can relative to the project like `tmp/task` or absolute like `/tmp/.task` or `~/.task`. |
|`TASK_TEMP_DIR`|`.task`| Location of the temp dir. Can relative to the project like `tmp/task` or absolute like `/tmp/.task` or `~/.task`. |
14
+
|`TASK_REMOTE_DIR`|`TASK_TEMP_DIR`| Location of the remote temp dir (used for caching). Can relative to the project like `tmp/task` or absolute like `/tmp/.task` or `~/.task`. |
15
+
|`TASK_OFFLINE`|`false`| Set the `--offline` flag through the environment variable. Only for remote experiment. CLI flag `--offline` takes precedence over the env variable |
Copy file name to clipboardExpand all lines: website/versioned_docs/version-latest/reference/schema.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ vars:
88
88
| `deps` | [`[]Dependency`](#dependency) | | A list of dependencies of this task. Tasks defined here will run in parallel before this task. |
89
89
| `label` | `string` | | Overrides the name of the task in the output when a task is run. Supports variables. |
90
90
| `desc` | `string` | | A short description of the task. This is displayed when calling `task --list`. |
91
-
| `prompt` | `string` | | A prompt that will be presented before a task is run. Declining will cancel running the current and any subsequent tasks. |
91
+
| `prompt` | `[]string` | | One or more prompts that will be presented before a task is run. Declining will cancel running the current and any subsequent tasks. |
92
92
| `summary` | `string` | | A longer description of the task. This is displayed when calling `task --summary [task]`. |
93
93
| `aliases` | `[]string` | | A list of alternative names by which the task can be called. |
94
94
| `sources` | `[]string` | | A list of sources to check before running this task. Relevant for `checksum` and `timestamp` methods. Can be file paths or star globs. |
0 commit comments