14 lines
No EOL
360 B
YAML
14 lines
No EOL
360 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
|
|
env:
|
|
BUILD_KEY: ${{ secrets.NETLIFY_BUILD_KEY }}
|
|
run: curl -X POST -d {} https://api.netlify.com/build_hooks/$env:BUILD_KEY |