Just the fixes needed for correct auto generation of blog and docs al… #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test build | |
on: | |
push: | |
# only non-main (and non-master) branches | |
branches: | |
- "**" | |
- "!main" | |
jobs: | |
test-deploy: | |
name: Test build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.6.7 | |
- name: Install dependencies | |
run: just _install --frozen-lockfile | |
- name: Test build website | |
run: just build | |
env: | |
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} | |
NOTION_DOCUMENT_ROOT: ${{ secrets.NOTION_DOCUMENT_ROOT }} | |
NOTION_BLOG_ROOT: ${{ secrets.NOTION_BLOG_ROOT }} |