removed URL from docs

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones 2021-12-22 12:07:07 -07:00
parent b3118628b0
commit 455ccc460f
No known key found for this signature in database
GPG Key ID: CFB3A382EB166F4C
2 changed files with 3 additions and 4 deletions

View File

@ -92,7 +92,7 @@ _No output._
## engine.#GitPull ## engine.#GitPull
Pull a directory from a git remote Note: do not add credentials to the remote url: e.g: https://username:password@github.com as this will expose those in logs. By using username and password (as #Secret) Dagger will url encode them for you Pull a directory from a git remote Warning: do NOT embed credentials in the remote url as this will expose them in logs. By using username and password Dagger will handle this for you in a secure manner.
### engine.#GitPull Inputs ### engine.#GitPull Inputs

View File

@ -11,9 +11,8 @@ package engine
} }
// Pull a directory from a git remote // Pull a directory from a git remote
// Note: do not add credentials to the remote url: e.g: https://username:password@github.com // Warning: do NOT embed credentials in the remote url as this will expose them in logs.
// as this will expose those in logs. By using username and password (as #Secret) Dagger will // By using username and password Dagger will handle this for you in a secure manner.
// url encode them for you
#GitPull: { #GitPull: {
$dagger: task: _name: "GitPull" $dagger: task: _name: "GitPull"
remote: string remote: string