This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/.github/workflows/scheduled-build.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