Skip to content

testing concurrency

testing concurrency #6

Workflow file for this run

name: Fly Deploy
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy_app:
name: Deploy app
runs-on: ubuntu-latest
concurrency: ${{ github.workflow }}
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_APP }}
deploy_pb:
name: Deploy PB
runs-on: ubuntu-latest
needs: deploy_app
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd pb; flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_PB }}