@@ -39,15 +39,15 @@ of node which you can use:
39
39
::: code-group
40
40
41
41
``` text [HTTP/HTTPS]
42
- https://raw.githubusercontent.com/go-task/task/main/website/static /Taskfile.yml
42
+ https://raw.githubusercontent.com/go-task/task/main/website/src/public /Taskfile.yml
43
43
```
44
44
45
45
``` text [Git over HTTP]
46
- https://github.com/go-task/task.git//website/static /Taskfile.yml?ref=main
46
+ https://github.com/go-task/task.git//website/src/public /Taskfile.yml?ref=main
47
47
```
48
48
49
49
``` text [Git over SSH]
50
- [email protected] /go-task/task.git//website/static /Taskfile.yml?ref=main
50
+ [email protected] /go-task/task.git//website/src/public /Taskfile.yml?ref=main
51
51
```
52
52
53
53
:::
@@ -56,7 +56,7 @@
[email protected] /go-task/task.git//website/static/Taskfile.yml?ref=main
56
56
57
57
### HTTP/HTTPS
58
58
59
- ` https://raw.githubusercontent.com/go-task/task/main/website/static /Taskfile.yml `
59
+ ` https://raw.githubusercontent.com/go-task/task/main/website/src/public /Taskfile.yml `
60
60
61
61
This is the most basic type of remote node and works by downloading the file
62
62
from the specified URL. The file must be a valid Taskfile and can be of any
@@ -66,7 +66,7 @@ find a valid Taskfile, an error is returned.
66
66
67
67
### Git over HTTP
68
68
69
- ` https://github.com/go-task/task.git//website/static /Taskfile.yml?ref=main `
69
+ ` https://github.com/go-task/task.git//website/src/public /Taskfile.yml?ref=main `
70
70
71
71
This type of node works by downloading the file from a Git repository over
72
72
HTTP/HTTPS. The first part of the URL is the base URL of the Git repository.
@@ -80,7 +80,7 @@ This is the same URL that you would use to clone the repo over HTTP.
80
80
81
81
### Git over SSH
82
82
83
- ` [email protected] /go-task/task.git//website/static /Taskfile.yml?ref=main`
83
+ ` [email protected] /go-task/task.git//website/src/public /Taskfile.yml?ref=main`
84
84
85
85
This type of node works by downloading the file from a Git repository over SSH.
86
86
The first part of the URL is the user and base URL of the Git repository. This
@@ -121,19 +121,19 @@ file. For example:
121
121
:: : code-group
122
122
123
123
` ` ` shell [HTTP/HTTPS]
124
- $ task --taskfile https://raw.githubusercontent.com/go-task/task/main/website/static /Taskfile.yml
124
+ $ task --taskfile https://raw.githubusercontent.com/go-task/task/main/website/src/public /Taskfile.yml
125
125
task: [hello] echo "Hello Task!"
126
126
Hello Task!
127
127
` ` `
128
128
129
129
` ` ` shell [Git over HTTP]
130
- $ task --taskfile https://github.com/go-task/task.git//website/static /Taskfile.yml?ref=main
130
+ $ task --taskfile https://github.com/go-task/task.git//website/src/public /Taskfile.yml?ref=main
131
131
task: [hello] echo "Hello Task!"
132
132
Hello Task!
133
133
` ` `
134
134
135
135
` ` ` shell [Git over SSH]
136
- $ task --taskfile [email protected] /go-task/task.git//website/static /Taskfile.yml?ref=main
136
+ $ task --taskfile [email protected] /go-task/task.git//website/src/public /Taskfile.yml?ref=main
137
137
task: [hello] echo "Hello Task!"
138
138
Hello Task!
139
139
` ` `
@@ -152,21 +152,21 @@ the remote Taskfile will be available to run from your main Taskfile.
152
152
version: '3'
153
153
154
154
includes:
155
- my-remote-namespace: https://raw.githubusercontent.com/go-task/task/main/website/static /Taskfile.yml
155
+ my-remote-namespace: https://raw.githubusercontent.com/go-task/task/main/website/src/public /Taskfile.yml
156
156
` ` `
157
157
158
158
` ` ` yaml [Git over HTTP]
159
159
version: '3'
160
160
161
161
includes:
162
- my-remote-namespace: https://github.com/go-task/task.git//website/static /Taskfile.yml?ref=main
162
+ my-remote-namespace: https://github.com/go-task/task.git//website/src/public /Taskfile.yml?ref=main
163
163
` ` `
164
164
165
165
` ` ` yaml [Git over SSH]
166
166
version: '3'
167
167
168
168
includes:
169
- my-remote-namespace: [email protected] /go-task/task.git//website/static /Taskfile.yml?ref=main
169
+ my-remote-namespace: [email protected] /go-task/task.git//website/src/public /Taskfile.yml?ref=main
170
170
` ` `
171
171
172
172
:: :
@@ -292,7 +292,9 @@ the `--download` flag.
292
292
You can use the `--clear-cache` flag to clear all cached remote files.
293
293
294
294
# # Configuration
295
- This experiment adds a new `remote` section to the [configuration file](../reference/config.md).
295
+
296
+ This experiment adds a new `remote` section to the
297
+ [configuration file](../reference/config.md).
296
298
297
299
- **Type**: `object`
298
300
- **Description**: Remote configuration settings for handling remote Taskfiles
@@ -344,10 +346,10 @@ remote:
344
346
- **Type**: `string`
345
347
- **Default**: 0s (no cache)
346
348
- **Pattern**: `^[0-9]+(ns|us|µs|ms|s|m|h)$`
347
- - **Description**: Cache expiry duration for remote Taskfiles (e.g., '1h', '24h')
349
+ - **Description**: Cache expiry duration for remote Taskfiles (e.g., '1h',
350
+ ' 24h' )
348
351
349
352
` ` ` yaml
350
353
remote:
351
354
cache-expiry: "6h"
352
355
` ` `
353
-
0 commit comments