Skip to content

nightly-build

nightly-build #893

Workflow file for this run

name: nightly-build
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" #runs at 00:00 UTC everyday
jobs:
nightly-build:
runs-on: ubuntu-latest
steps:
- name: Trigger Netlify Build
env:
NETLIFY_HOOK_ID: ${{ secrets.NETLIFY_HOOK_ID }}
run: |
curl -X POST -d {} "https://api.netlify.com/build_hooks/$NETLIFY_HOOK_ID?trigger_title=triggered+by+GitHub+Action+Nightly+Build"