Source content from Obsidian vault via CONTENT_BASE env var

Locally: reads from /Users/neeldhara/gitea/obsidian/public/blogs/micro (via .env)
CI: reads from ./src/content (snapshot committed to repo)
Amp-Thread-ID: https://ampcode.com/threads/T-019c7839-0936-729b-aa87-92b35d3d68fe
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Neeldhara Misra 2026-02-20 05:17:42 +05:30
parent f5ea28ef66
commit c32a14ce5a
4 changed files with 16 additions and 4 deletions

View file

@ -16,7 +16,10 @@ jobs:
cache: npm
- run: npm ci
- run: npm run build
- name: Build
run: npm run build
env:
CONTENT_BASE: ./src/content
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v3