跳到主要内容

Firebase with YAML

List of YAML parameters and examples for the "Firebase" action.

YAML parameters for Firebase

名称类型描述
action
必填
String操作名称
type
必填
StringThe type of the action. Should be set to FIREBASE.
application_id
必填
StringThe ID of the Firebase application.
integration_hash
必填
StringThe ID of the integration.
execute_commands
必填
String[]Commands that will be executed.
volume_mappingsString[]The path preceding the colon is the filesystem path (the folder from the filesystem to be mounted in the container). The path after the colon is the container path (the path in the container, where this filesystem will be located).
working_directoryStringThe absolute or relative path on the remote server.
shellStringThe name of the shell that will be used to execute commands. Can be one of SH (default) or BASH.
setup_commandsString[]The command that will be executed only on the first run.

YAML example for Firebase

actions:
- action: "Firebase deploy"
type: "FIREBASE"
working_directory: "/buddy/b"
setup_commands:
- "apt-get update && apt-get -y install git"
execute_commands:
- "firebase deploy --non-interactive"
volume_mappings:
- "/:/buddy/mount/directory"
application_id": "fir-test-25007"
integration_hash: "5ddb7c180fb38be67bd78a88a"
shell: "SH"