7a77466a66
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
29 lines
484 B
CUE
29 lines
484 B
CUE
package main
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
"dagger.io/netlify"
|
|
"dagger.io/yarn"
|
|
)
|
|
|
|
repository: #compute: [
|
|
dagger.#FetchGit & {
|
|
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"
|
|
}
|
|
}
|