c6e3d35899
Signed-off-by: Sam Alba <sam.alba@gmail.com>
49 lines
2.1 KiB
Markdown
49 lines
2.1 KiB
Markdown
---
|
|
sidebar_label: netlify
|
|
---
|
|
|
|
# dagger.io/netlify
|
|
|
|
Netlify client operations
|
|
|
|
```cue
|
|
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 |
|