This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/examples/react-netlify/main.cue
Solomon Hykes 1f874025aa Improve examples using go & docker stdlib packages
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-12 18:10:36 -08:00

27 lines
461 B
CUE

package main
import (
"dagger.io/netlify"
"dagger.io/yarn"
"dagger.io/git"
)
repository: git.#Repository & {
remote: "https://github.com/kabirbaidhya/react-todo-app.git"
ref: "624041b17bd62292143f99bce474a0e3c2d2dd61"
}
todoApp: netlify.#Site & {
account: {
name: "blocklayer"
token: string // Fill using --input-string todoApp.account.token=XXX
}
name: "dagger-test"
contents: yarn.#Script & {
source: repository
run: "build"
}
}