3
0
Fork 0
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:
Jamie Gaehring 2021-10-31 10:42:23 -04:00
parent a4579673cb
commit 60173de9e1

View file

@ -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 != '' }}