examples/simple-s3: added output annotation

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-05-31 15:22:04 +02:00
parent 91c2acd564
commit e86963eea3

View File

@ -16,7 +16,9 @@ bucket: *"dagger-io-examples" | string @dagger(input)
// Source code to deploy
source: dagger.#Artifact @dagger(input)
url: "\(deploy.url)index.html"
// Deployed URL
url: "\(deploy.url)index.html" @dagger(output)
deploy: s3.#Put & {
always: true