UNPKG

@cdwr/nx-fly-deployment-action

Version:

The Nx Fly Deployment Action will manage your deployments to fly.io.

15 lines (14 loc) 650 B
import { Fly } from '@codeware/fly-node'; import type { ActionOutputs } from '../schemas/action-outputs.schema'; import { DeploymentConfig } from '../schemas/deployment-config.schema'; /** * Destroy deprecated apps, which means apps that are associated with a closed pull request. * * Pull request number is extracted from the app name, * which is in the format of `app-pr-<pull-request-number>`. * * @param config - Deployment configuration * @param fly - Fly instance * @returns List of destroy statuses of deprecated apps */ export declare const runDestroyApps: (config: DeploymentConfig, fly: Fly) => Promise<ActionOutputs["projects"]>;