run deploy routine only on this repo
This commit is contained in:
parent
eadcef120e
commit
8be830c35a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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\" }"
|
||||
|
|
Loading…
Reference in a new issue