Skip to content

Build and deploy production site #1359

Build and deploy production site

Build and deploy production site #1359

Workflow file for this run

name: Build and deploy production site
# This job simply calls a trigger hook in netlify.
# The hook is configured in an organization secret.
# https://docs.netlify.com/configure-builds/build-hooks/
on:
schedule:
# Monday to Friday, 2:15 in the night
- cron: '15 2 * * 1-5'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Call Netlify build hook
env:
HOOK_URL: ${{ secrets.NETLIFY_BUILD_TRIGGER_HOOK }}
run: curl -X POST -d '{}' $HOOK_URL