diff --git a/website/source/docs/job-specification/artifact.html.md b/website/source/docs/job-specification/artifact.html.md index 35a647378..e99fd4e46 100644 --- a/website/source/docs/job-specification/artifact.html.md +++ b/website/source/docs/job-specification/artifact.html.md @@ -30,7 +30,7 @@ job "docs" { task "server" { artifact { source = "https://example.com/file.tar.gz" - destination = "/tmp/directory" + destination = "local/some-directory" options { checksum = "md5:df6a4178aec9fbdc1d6d7e3634d1bc33" } @@ -80,18 +80,6 @@ artifact { } ``` -### Download with Custom Destination - -This example downloads the artifact from the provided URL and places it at -`/tmp/example/file.txt`, as specified by the optional `destination` parameter. - -```hcl -artifact { - source = "https://example.com/file.txt" - destination = "/tmp/example" -} -``` - ### Download using git This example downloads the artifact from the provided GitHub URL and places it at