From 3d486eda6ddb1387cfd698aa5bc63e177c7e6c5f Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 31 May 2020 15:15:43 -0400 Subject: [PATCH] make CI skippable --- .github/workflows/deploy.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 781556f..09e9bf7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,17 +3,18 @@ name: Deploy on: push: branches: - - master + - master jobs: deploy: runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - - uses: actions/checkout@v2 - - uses: cloudflare/wrangler-action@master - with: - apiToken: ${{ secrets.CF_API_TOKEN }} - - uses: jakejarvis/cloudflare-purge-action@master - env: - CLOUDFLARE_ZONE: "92e2ec634800f776ec4f3e983491c349" - CLOUDFLARE_TOKEN: ${{ secrets.CF_API_TOKEN }} + - uses: actions/checkout@v2 + - uses: cloudflare/wrangler-action@master + with: + apiToken: ${{ secrets.CF_API_TOKEN }} + - uses: jakejarvis/cloudflare-purge-action@master + env: + CLOUDFLARE_ZONE: "92e2ec634800f776ec4f3e983491c349" + CLOUDFLARE_TOKEN: ${{ secrets.CF_API_TOKEN }}