mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Fix trigger_branch param.
This commit is contained in:
parent
8f5479c5d4
commit
65c28bcfa9
4
.github/workflows/netlify-build-docs.yml
vendored
4
.github/workflows/netlify-build-docs.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
- name: Set trigger_branch env.var for main production build
|
||||
run: |
|
||||
echo "TRIGGER_BRANCH=main" >> $GITHUB_ENV
|
||||
if: github.event_name == 'pull_request'
|
||||
if: github.event_name == 'push'
|
||||
- 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}"
|
||||
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