-
-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,9 @@ tasks: | |
and you run `task my-remote-namespace:hello`, it will print the text: "Hello | ||
from the remote Taskfile!" to your console. | ||
|
||
URL is processed by the templating system, so you can reference environment variable in your URL to have authentication, for example : | ||
The Taskfile location is processed by the templating system, so you can | ||
reference environment variables in your URL if you need to add authentication. | ||
For example: | ||
|
||
```yaml | ||
version: '3' | ||
|
@@ -57,7 +59,8 @@ includes: | |
my-remote-namespace: https://{{.TOKEN}}@raw.githubusercontent.com/my-org/my-repo/main/Taskfile.yml | ||
``` | ||
|
||
`TOKEN=my-token task my-remote-namespace:hello` will be resolved by Task to `https://[email protected]/my-org/my-repo/main/Taskfile.yml` | ||
`TOKEN=my-token task my-remote-namespace:hello` will be resolved by Task to | ||
`https://[email protected]/my-org/my-repo/main/Taskfile.yml` | ||
|
||
## Security | ||
|
||
|