UNPKG

@cdwr/deploy-env-action

Version:

The Deploy Env Action will analyze the environment to deploy your Fly.io applications to.

11 lines (10 loc) 476 B
import { z } from 'zod'; import { ActionInputsSchema } from '../schemas/action-inputs.schema'; import { EnvironmentConfigSchema } from '../schemas/environment-config.schema'; export type Environment = 'preview' | 'production'; export type ActionInputs = z.infer<typeof ActionInputsSchema>; export type ActionOutputs = { /** Target environment for deployment */ environment: Environment | ''; }; export type EnvironmentConfig = z.infer<typeof EnvironmentConfigSchema>;