Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ name: Deploy Nebari website
on:
workflow_dispatch:
schedule:
# * 10:37 every day – 37 just to not trigger exactly at 10:30 like many other;
# * 10:37 every day – 37 just to not trigger exactly at 10:30 like many other;
# 10:37 UTC is 6:30am EST is a bit before the beginning of the day in the US,
- cron: "37 10 * * *"
- cron: "37 10 * * *" # 10:37 UTC daily

jobs:
build_site:
runs-on: ubuntu-latest
environment: docs-prod
name: "Trigger Netlify build"
steps:
- name: Check out repository 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Trigger Netlify build 🚀
uses: wei/[email protected]
- name: Trigger Netlify build 🚀
env:
WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }}
uses: wei/[email protected]
with:
args: -X POST ${WEBHOOK}
# Use Actions interpolation (not ${WEBHOOK}). GitHub will mask the secret in logs.
# -f: fail on HTTP errors, -sS: silent but show errors, -o /dev/null: drop body
args: -fsS -X POST ${{ env.WEBHOOK }} -o /dev/null
Loading