12 lines
No EOL
385 B
YAML
12 lines
No EOL
385 B
YAML
name: Scheduled Netlify Build
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 * * * *'
|
|
jobs:
|
|
build:
|
|
name: Request Netlify Webhook
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: POST to Build Hook
|
|
run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_KEY }}?trigger_branch=main&trigger_title=Scheduled+Github+build&clear_cache=true |