cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
9cab6146ce
commit
8730c66167
@ -3,7 +3,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"dagger.io/aws"
|
"dagger.io/aws"
|
||||||
"dagger.io/aws/s3"
|
"dagger.io/aws/s3"
|
||||||
"dagger.io/dagger"
|
"dagger.io/dagger"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AWS Config for credentials and default region
|
// AWS Config for credentials and default region
|
||||||
@ -15,11 +15,11 @@ awsConfig: aws.#Config & {
|
|||||||
bucket: *"dagger-io-examples" | string
|
bucket: *"dagger-io-examples" | string
|
||||||
|
|
||||||
source: dagger.#Artifact
|
source: dagger.#Artifact
|
||||||
url: "\(deploy.url)index.html"
|
url: "\(deploy.url)index.html"
|
||||||
|
|
||||||
deploy: s3.#Put & {
|
deploy: s3.#Put & {
|
||||||
config: awsConfig
|
config: awsConfig
|
||||||
"source": source
|
"source": source
|
||||||
contentType: "text/html"
|
contentType: "text/html"
|
||||||
target: "s3://\(bucket)/"
|
target: "s3://\(bucket)/"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user