feat: notify librepages about pushes on this branch
This commit is contained in:
parent
fc3b6152da
commit
b4a81d1c11
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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\" }"
|
||||
|
|
Loading…
Reference in a new issue