Skip to content

Deploy staging fly.io #7

Deploy staging fly.io

Deploy staging fly.io #7

Workflow file for this run

name: Deploy staging fly.io
on:
workflow_run:
workflows: ["Publish Docker image"]
branches-ignore: [main]
types:
- completed
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app to staging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: fly (staging deploy)
run: |
export TAG=sha-${{ github.sha }}
yarn fly