thomasfr/fly-deploy

Deploys to fly.io

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
app_name_prefixA prefix for the fly app name. This is useful if you want to use automatic app_name generation based on the workspace name, but want to add a prefix to the app name (like $GITHUB_REPOSITORY_OWNER)no
app_nameThe name of the fly app to deploy. If not set, the app name is generated based on the workspace name and the app_name_prefix and app_name_suffix inputs. If set, this overrides the automatic app name generation and prefix/suffix inputs are ignored.no
app_name_suffixA suffix for the fly app name. This is useful if you want to use the automatic app_name generation based on the workspace name, but want to add a suffix to the app name (like 'production', 'pre-production', 'preview', etc.)no
config_file_pathRelative workspace path of the fly config file. Defaults to './fly.toml'no
secretsA list of secrets to set on the fly app. The format is 'key=value', newline separated. You can use this to set secrets on the fly app.no
env_varsA list of non-secret plain-text environment variables to set on the fly app. The format is 'key=value', newline separated. You can use this to set non-secret environment variables on the fly app.no
build_argsA list of build args (--build-arg). Those are passed to the flyctl deploy command, which passes them to the docker build command. The format is 'key=value', newline separated.no
build_secretsA list of secrets to set on the fly app. The format is 'key=value', newline separated. You can use this to set secrets available to the docker build command, only available during the build phase.no
workspace_nameThe name of the workspace to deploy. This is used to find the folder of the workspace by searching the 'name' field in all package.json files recursively. Defaults to the 'name' in of the package.json found in the repository root.no
use_isolated_workspaceWhether to set the current working directory to the found workspace path. Defaults to false. You only need to change this if you want to deploy a folder in isolation and dont need any of the other workspaces. For monorepos keep this should as false.nofalse
attach_consulWhether to attach a consul cluster to the app, for instance if you want to use SQLite with litefs. Defaults to falsenofalse
privateBoolean string (true|false) to indicate whether to enable flycast and only add a private IPv6 address to the app. Defaults to false.nofalse
wait_timeoutTime duration in minutes to wait for individual machines to transition states and become healthy. If ommited, the fly deploy command will use its default timeout for --wait-timeout.no
deploy_immediatelyBoolean string (true|false) indicating whether to use the 'immediate' deploy strategy. If omitted, the fly deploy command will use its default deploy strategy. Defaults to false.no
namedescription
app_nameThe name of the fly app that was deployed.
app_urlThe URL of the fly app that was deployed.
app_hostnameThe hostname of the fly app that was deployed.
app_idThe ID of the fly app that was deployed.
machine_namesThe names of the machines that were deployed.
machine_idsThe IDs of the machines that were deployed.
public_ipsThe public IPs of the app.
private_ipsThe private IPs of app.
workspace_nameThe name of the workspace that was deployed.
workspace_pathThe relative path of the workspace that was deployed.