1
0
Fork 0
forked from mCaptcha/website

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 untrusted user: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -45,6 +45,6 @@ jobs:
publish_dir: ./public publish_dir: ./public
- name: deploy - 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: >- 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\" }" 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\" }"