Dagger
Search

firebase

Build and deploy to Firebase Hosting

Installation

dagger install github.com/fluent-ci-templates/firebase-pipeline@v0.4.3

Entrypoint

Return Type
Firebase
Example
dagger -m github.com/fluent-ci-templates/firebase-pipeline@1728283ad89e18fe02843d54c5a8d2627e426e47 call \
func (m *myModule) example() *Firebase  {
	return dag.
			Firebase()
}
@function
def example() -> dag.Firebase:
	return (
		dag.firebase()
	)
@func()
example(): Firebase {
	return dag
		.firebase()
}

Types

Firebase 🔗

build() 🔗

Build the project

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/firebase-pipeline@1728283ad89e18fe02843d54c5a8d2627e426e47 call \
 build
func (m *myModule) example() *Directory  {
	return dag.
			Firebase().
			Build()
}
@function
def example() -> dagger.Directory:
	return (
		dag.firebase()
		.build()
	)
@func()
example(): Directory {
	return dag
		.firebase()
		.build()
}

deploy() 🔗

Deploy to Firebase Hosting

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
tokenSecret -No description provided
Example
dagger -m github.com/fluent-ci-templates/firebase-pipeline@1728283ad89e18fe02843d54c5a8d2627e426e47 call \
 deploy
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Firebase().
			Deploy(ctx)
}
@function
async def example() -> str:
	return await (
		dag.firebase()
		.deploy()
	)
@func()
async example(): Promise<string> {
	return dag
		.firebase()
		.deploy()
}