diff --git a/.github/workflows/deploy-to-cloudflare.yml b/.github/workflows/deploy-to-cloudflare.yml index de5f3f7..973bf07 100644 --- a/.github/workflows/deploy-to-cloudflare.yml +++ b/.github/workflows/deploy-to-cloudflare.yml @@ -7,6 +7,7 @@ on: jobs: deploy-main: + if: "contains(github.event.head_commit.message, '[deploy]')" runs-on: ubuntu-latest steps: @@ -35,6 +36,7 @@ jobs: CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }} deploy-staging: + if: "contains(github.event.head_commit.message, '[staging]')" runs-on: ubuntu-latest steps: