Skip to content

Commit 475ac8e

Browse files
committed
feat: add daily build
Signed-off-by: Christian Walter <[email protected]>
1 parent a900e78 commit 475ac8e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Trigger Netlify Build
2+
on:
3+
schedule:
4+
- cron: '0 2 * * *' # 2am
5+
jobs:
6+
build:
7+
name: Rebuild Homepage through Netlify
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Curl request
11+
run: curl -X POST -d {} ${{ secrets.NETLIFY_BUILD_HOOK }}

0 commit comments

Comments
 (0)