Created
September 3, 2020 11:02
-
-
Save synesthesia/5ff026194c1cf75c9ee1c325a79da02e to your computer and use it in GitHub Desktop.
GH action to trigger netlify build for public docs
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 build for public docs | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'public/**' | |
jobs: | |
trigger-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Invoke Netlify deployment hook | |
uses: distributhor/workflow-webhook@v1 | |
env: | |
webhook_url: ${{ secrets.NETLIFY_HOOK_DOCS_PUBLIC }}?trigger_title=content_update | |
webhook_secret: "Anything" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment