From b4a81d1c1171d3ddf63773feb09bedde09aab4b7 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sun, 6 Nov 2022 17:30:28 +0530 Subject: [PATCH] feat: notify librepages about pushes on this branch --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6fb2fed..39f4c2b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,6 @@ jobs: publish_branch: "mcaptcha-io-pages" - name: deploy - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'mCaptcha/website' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/mcaptcha.io' && github.repository == 'mCaptcha/website' }} run: >- curl --location --request POST "https://deploy.batsense.net/api/v1/update" --header 'Content-Type: application/json' --data-raw "{ \"secret\": \"${{ secrets.DEPLOY_TOKEN_MCAPTCHA_IO }}\", \"branch\": \"mcaptcha-io-pages\" }"