examples/jamstack: use a inputs.yaml instead of cue code

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-04-27 12:11:33 -07:00
parent 46aa2877ab
commit 56926a7fed
5 changed files with 55 additions and 77 deletions

View File

@@ -4,11 +4,12 @@ import (
"dagger.io/dagger"
"dagger.io/netlify"
"dagger.io/js/react"
"dagger.io/git"
)
frontend: {
// Source code to build the app
source: dagger.#Artifact
source: git.#Repository | dagger.#Artifact
writeEnvFile?: string