Skip to content

Fly Deploy Manual

Fly Deploy Manual #54

name: Fly Deploy Manual
on:
workflow_dispatch:
inputs:
environment:
description: 'Deploy environment'
type: environment
required: true
jobs:
deploy:
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only -a ${{ secrets.FLY_APP_NAME }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}