heroku
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/heroku-pipeline@v0.8.0
Entrypoint
Return Type
Heroku
Example
dagger -m github.com/fluent-ci-templates/heroku-pipeline@483f7764ec4e7d1b1594ddf29b05f65cc96fab07 call \
func (m *myModule) example() *Heroku {
return dag.
Heroku()
}
@function
def example() -> dag.Heroku:
return (
dag.heroku()
)
@func()
example(): Heroku {
return dag
.heroku()
}
Types
Heroku 🔗
deploy() 🔗
Deploy to Heroku
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | The directory to deploy |
apiKey | Secret ! | - | The Heroku API key |
appName | String ! | - | The Heroku app name |
Example
dagger -m github.com/fluent-ci-templates/heroku-pipeline@483f7764ec4e7d1b1594ddf29b05f65cc96fab07 call \
deploy --src DIR_PATH --api-key env:MYSECRET --app-name string
func (m *myModule) example(ctx context.Context, src *Directory, apiKey *Secret, appName string) string {
return dag.
Heroku().
Deploy(ctx, src, apiKey, appName)
}
@function
async def example(src: dagger.Directory, api_key: dagger.Secret, app_name: str) -> str:
return await (
dag.heroku()
.deploy(src, api_key, app_name)
)
@func()
async example(src: Directory, apiKey: Secret, appName: string): Promise<string> {
return dag
.heroku()
.deploy(src, apiKey, appName)
}