Skip to main content

alpha.dagger.io/netlify

Netlify client operations

import "alpha.dagger.io/netlify"

netlify.#Account

Netlify account credentials

netlify.#Account Inputs

NameTypeDescription
name*"" \| stringUse this Netlify account name (also referred to as "team" in the Netlify docs)
tokendagger.#SecretNetlify authentication token

netlify.#Account Outputs

No output.

netlify.#Site

Netlify site

netlify.#Site Inputs

NameTypeDescription
account.name*"" \| stringUse this Netlify account name (also referred to as "team" in the Netlify docs)
account.tokendagger.#SecretNetlify authentication token
contentsdagger.#ArtifactContents of the application to deploy
namestringDeploy to this Netlify site
create*true \| boolCreate the Netlify site if it doesn't exist?

netlify.#Site Outputs

NameTypeDescription
urlstringWebsite url
deployUrlstringUnique Deploy URL
logsUrlstringLogs URL for this deployment