From d55b8045507735423d2a91365554b4201f2d1652 Mon Sep 17 00:00:00 2001 From: Kevin Kandlbinder Date: Thu, 3 Sep 2020 13:48:46 +0200 Subject: [PATCH] Update update.yaml --- .github/workflows/update.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 13b9cb7..6d99168 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -2,8 +2,6 @@ name: Update Site on: push: - branches: - - master schedule: - cron: '0 0 * * *' @@ -31,5 +29,6 @@ jobs: - name: Publish Site uses: cloudflare/wrangler-action@1.2.0 + if: github.ref == 'refs/heads/master' with: apiToken: ${{ secrets.CF_API_TOKEN }}