Integrate Taskfile with CI/CD
Learn how to integrate Taskfile with CI/CD pipelines
When you want to integrate Taskfile with your CI/CD pipeline, there are multiple ways that you can reference the remote Taskfile.
https://raw.githubusercontent.com/<username>/<repo>/<branch>/<path>/Taskfile.yml
https://github.com/<username>/<repo>.git//<path>/Taskfile.yml?ref=main
//<path>
make sure to include the//
before the path.
git@github.com/<username>/<repo>.git//<path>/Taskfile.yml?ref=main
Enable this remote experiment feature
Include remote Taskfile or execute from CLI directly
OR
[Optional]: Force download the remote Taskfile
By default, the cache will be stored in the .task
directory. But if you want to make sure the remote Taskfile always up-to-date, you can force download it by using the --download
flag or you can use --clear-cache
to clear all remote cache.