run deploy routine only on this repo

This commit is contained in:
Aravinth Manivannan 2021-10-29 20:08:17 +05:30
parent eadcef120e
commit 8be830c35a
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 1 additions and 1 deletions

View File

@ -45,6 +45,6 @@ jobs:
publish_dir: ./public
- name: deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && 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 }}\", \"branch\": \"gh-pages\" }"