We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c08bea9 + 939417f commit 75bac0aCopy full SHA for 75bac0a
.github/workflows/scheduled-build.yml
@@ -0,0 +1,14 @@
1
+# via https://www.voorhoede.nl/en/blog/scheduling-netlify-deploys-with-github-actions/
2
+
3
+name: Scheduled build
4
+on:
5
+ schedule:
6
+ - cron: '0 14 * * *'
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Trigger our build webhook on Netlify
12
+ run: curl -s -X POST "https://api.netlify.com/build_hooks/${TOKEN}"
13
+ env:
14
+ TOKEN: ${{ secrets.NETLIFY_CRON_BUILD_HOOK }}
0 commit comments