mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Trigger Netlify build hook only when token exists.
This commit is contained in:
parent
a4579673cb
commit
60173de9e1
1
.github/workflows/netlify-build-docs.yml
vendored
1
.github/workflows/netlify-build-docs.yml
vendored
|
@ -30,3 +30,4 @@ jobs:
|
|||
if: github.event_name == 'pull_request'
|
||||
- name: Trigger Netlify Build Hook
|
||||
run: curl -s -X POST -d {} "https://api.netlify.com/build_hooks/${TOKEN}?trigger_branch${TRIGGER_BRANCH}&trigger_title=${TRIGGER_TITLE}"
|
||||
if: ${{ env.TOKEN != '' }}
|
||||
|
|
Loading…
Reference in a new issue