Sha256: 2164571d10199621c9701c126ca4f58e9e04234767ab2a4cff61f7e87801487f

Contents?: true

Size: 955 Bytes

Versions: 28

Compression:

Stored size: 955 Bytes

Contents

name: Deployments
on:
  push:
    branches:
      - production
  workflow_dispatch:
    inputs:
      target:
        required: true
        type: choice
        description: The name of the environment that you're deploying the application to
        options:
          - staging
          - production
      forced:
        description: "Whether to perform the deploy regardless of test state."
        required: false
        type: boolean
        default: false

jobs:
  deployment:
    name: Deploy app
    uses: yettoapp/actions/.github/workflows/fly_deployment.yml@main
    with:
      target: ${{ github.event_name != 'workflow_dispatch' && 'production' || inputs.target }}
      forced: ${{ github.event_name == 'workflow_dispatch' && inputs.forced || false }}
    secrets:
      gh_token: ${{ secrets.GH_DEPLOYMENTS_TOKEN }}
      fly_token: ${{ inputs.target == 'staging' && secrets.FLY_STAGING_API_TOKEN || secrets.FLY_PRODUCTION_API_TOKEN }}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hephaestus-0.8.17 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.16.1 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.16 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.15.5 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.15.4 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.15.3 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.15.2 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.15.1 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.15 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.14 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.13 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.12.2 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.8.12.1 templates/hephaestus_github/workflows/deploy.yml
hephaestus-0.7.2 templates/.github/workflows/deploy.yml
hephaestus-0.7.1 templates/.github/workflows/deploy.yml
hephaestus-0.7.0 templates/.github/workflows/deploy.yml
hephaestus-0.6.4 templates/.github/workflows/deploy.yml
hephaestus-0.6.3 templates/.github/workflows/deploy.yml
hephaestus-0.6.2 templates/.github/workflows/deploy.yml
hephaestus-0.6.1 templates/.github/workflows/deploy.yml