Skip to content

Deploy to test

Deploy to test #50

Workflow file for this run

name: Deploy to test
on:
workflow_run:
workflows: ["Lint and Build"]
types: [completed]
branches: [main]
workflow_dispatch:
jobs:
deploy:
name: Deploy app
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_TEST }}