Deploy Nebari website #855
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 UTC is 6:30am EST is a bit before the beginning of the day in the US, | |
- cron: "37 10 * * *" | |
jobs: | |
build_site: | |
runs-on: ubuntu-latest | |
environment: docs-prod | |
name: "Trigger Netlify build" | |
steps: | |
- name: Check out repository ποΈ | |
uses: actions/checkout@v3 | |
- name: Trigger Netlify build π | |
uses: wei/curl@v1.1.1 | |
env: | |
WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }} | |
with: | |
args: -X POST ${WEBHOOK} |