Skip to content

nightly-build

nightly-build #190

name: nightly-build
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Daily “At 00:00”
jobs:
build:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
# Per-cell kernel execution timeout in seconds (-1 = unlimited, adjust as needed)
build_command: 'NBCLIENT_EXECUTION_TIMEOUT=600 myst build --execute --html'
secrets:
EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }}
EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }}
deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
link-check:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main