Skip to content

ci: deploy in a single job #32

ci: deploy in a single job

ci: deploy in a single job #32

Workflow file for this run

# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
name: Fly Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy Applications
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy Devhub
run: flyctl deploy --remote-only -c fly.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Deploy Infra
run: flyctl deploy --remote-only -c fly.infra.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Deploy Events
run: flyctl deploy --remote-only -c fly.events.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Deploy Templar
run: flyctl deploy --remote-only -c fly.templar.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}