Skip to content

ci: add workflow_dispatch trigger #85

ci: add workflow_dispatch trigger

ci: add workflow_dispatch trigger #85

Workflow file for this run

name: Deploy to Fly
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Wait for other checks to succeed
uses: lewagon/[email protected]
if: ${{ github.event_name != 'workflow_dispatch' }}
with:
ref: ${{ github.ref }}
running-workflow-name: deploy
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --nixpacks
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}