Change "Apple M1" to "Apple M-series". #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger Netlify to build docs | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'posts/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TOKEN: ${{ secrets.NETLIFY_BUILD_HOOK }} | |
steps: | |
- name: Set trigger_title environment variable | |
run: | | |
echo "TRIGGER_TITLE=Triggered+by+farmOS-community-blog+source+repo" >> $GITHUB_ENV | |
- name: Set trigger_branch env.var for main production build | |
run: | | |
echo "TRIGGER_BRANCH=main" >> $GITHUB_ENV | |
- 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 != '' }} |