Skip to content

feat: replace blurry raster background with procedural Three.js star … #7

feat: replace blurry raster background with procedural Three.js star …

feat: replace blurry raster background with procedural Three.js star … #7

Workflow file for this run

name: Fetch Threat Data & Deploy
on:
schedule:
- cron: '0 */2 * * *' # every 2 hours
push:
branches: [main]
workflow_dispatch: # allow manual runs from the Actions tab
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/checkout@v4
# ── Python data pipeline ─────────────────────────────────────────────
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
cache-dependency-path: pipeline/requirements.txt
- name: Install pipeline dependencies
run: pip install -r pipeline/requirements.txt
- name: Run threat data pipeline
env:
MAXMIND_ACCOUNT_ID: ${{ secrets.MAXMIND_ACCOUNT_ID }}
MAXMIND_LICENSE_KEY: ${{ secrets.MAXMIND_LICENSE_KEY }}
run: python pipeline/main.py
# ── Frontend build ───────────────────────────────────────────────────
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- name: Install frontend dependencies
run: npm ci
- name: Build
run: npm run build
# ── Deploy to GitHub Pages ───────────────────────────────────────────
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: dist
- name: Deploy to GitHub Pages
id: deploy
uses: actions/deploy-pages@v4