Created
March 27, 2022 15:11
-
-
Save danurbanowicz/2c8e87f8fcd68c6b5b091166d1385a7d to your computer and use it in GitHub Desktop.
Trigger a Netlify deploy each night
This file contains hidden or 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: Deploy | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Nightly deploy | |
| run: curl -X POST -d {} https://api.netlify.com/build_hooks/{ my_build_hook_id }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment