🏠 Portfolio Home

🛰️ NASA → Supabase → Vercel

Automated Climate Data Pipeline

NASA GISS Satellite
🐙
GitHub Actions
Supabase
Vercel
Waiting
update-temperature.yml
$ awaiting cron trigger...
📄 .github/workflows/update-temperature.yml
name: Update Temperature Data

on:
  schedule:
    # NASA updates mid-month
    - cron: '0 10 16 * *'
  workflow_dispatch:

jobs:
  update-temperature:
    runs-on: ubuntu-latest
    steps:
      - name: Fetch NASA GISS Data
        run: |
          curl -X GET https://twoclicks.ai/api/update-temperature

💡 How It Works

NASA GISS updates global temperature data mid-month. This GitHub Actions workflow triggers on the 16th of each month, calls the API to fetch fresh data, processes 144 years of climate records, and stores them in Supabase PostgreSQL. The twoclicks.ai dashboard updates automatically — zero manual intervention.

Global Temperature Anomaly

Temperature change vs. 1850–1900 baseline
Current Anomaly
+1.20°C
vs. Last Year
+0.03°C
Status
Record Warm
1.5 1.0 0.5 0 2015 2020 2024
Data pipeline powered by twoclicks.ai