Skip to content

Daily Data Status Update #143

Daily Data Status Update

Daily Data Status Update #143

Workflow file for this run

name: Daily Data Status Update
on:
schedule:
- cron: '15 7 * * *' # 7:15 AM UTC daily
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install requests matplotlib numpy
- name: Run daily update
run: python scripts/daily_update.py
- name: Commit if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
if ! git diff --cached --quiet; then
git commit -m "daily: update NASA data product availability status"
git push
else
echo "No changes to commit"
fi