Skip to content

Add /signals and /stories pages with knowledge graph #10

Add /signals and /stories pages with knowledge graph

Add /signals and /stories pages with knowledge graph #10

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
# Sync needs the vault — skip in CI, content is pre-built
# For CI builds, we need to generate minimal content or skip sync
- name: Create minimal content dirs
run: |
mkdir -p src/content/episodes src/content/curtas src/content/newsletters
- name: Build
run: npx astro build
env:
PUBLIC_SUBSCRIBE_URL: ${{ vars.PUBLIC_SUBSCRIBE_URL }}
- uses: actions/upload-pages-artifact@v3
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4