Trigger Netlify Deployment #1325
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 Deployment | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 */12 * * *' | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy to Netlify | |
steps: | |
- name: Curl request | |
run: curl -X POST -d {} $DEPLOY_HOOK | |
env: | |
DEPLOY_HOOK: ${{ secrets.DEPLOY_HOOK }} |