From 18b8f0408435e2520f0886ea7aee93b149e6dbe1 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 22 Jul 2024 13:31:42 +0800 Subject: [PATCH] ci: add `workflow_dispatch` trigger --- .github/workflows/fly.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml index 8851a38..b0e2c94 100644 --- a/.github/workflows/fly.yml +++ b/.github/workflows/fly.yml @@ -3,6 +3,7 @@ name: Deploy to Fly on: push: branches: ["main"] + workflow_dispatch: jobs: deploy: @@ -10,6 +11,7 @@ jobs: steps: - name: Wait for other checks to succeed uses: lewagon/wait-on-check-action@v1.3.3 + if: ${{ github.event_name != 'workflow_dispatch' }} with: ref: ${{ github.ref }} running-workflow-name: deploy