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/docs/reference/universe/netlify.md
Sam Alba c6e3d35899 docs: refreshed stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 12:14:39 +02:00

2.1 KiB

sidebar_label
netlify

dagger.io/netlify

Netlify client operations

import "dagger.io/netlify"

netlify.#Account

Netlify account credentials

netlify.#Account Inputs

Name Type Description
name *"" | string Use this Netlify account name (also referred to as "team" in the Netlify docs)
token dagger.#Secret Netlify authentication token

netlify.#Account Outputs

No output.

netlify.#Site

Netlify site

netlify.#Site Inputs

Name Type Description
account.name *"" | string Use this Netlify account name (also referred to as "team" in the Netlify docs)
account.token dagger.#Secret Netlify authentication token
contents dagger.#Artifact Contents of the application to deploy
name string Deploy to this Netlify site
create *true | bool Create the Netlify site if it doesn't exist?

netlify.#Site Outputs

Name Type Description
url string Website url
deployUrl string Unique Deploy URL
logsUrl string Logs URL for this deployment