Skip to content

fix(docs): fix SSR of examples #8

fix(docs): fix SSR of examples

fix(docs): fix SSR of examples #8

Workflow file for this run

name: Publish docs
on:
push:
branches:
- feature/first-docs
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
registry-url: "https://registry.npmjs.org"
- run: yarn install --immutable
- uses: nrwl/nx-set-shas@v4
- if: github.ref != 'refs/heads/main'
run: git branch --track main origin/main
- run: yarn nx affected -t build --parallel=3
- uses: actions/configure-pages@v4
with:
static_site_generator: next
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: packages/docs/out
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Publish to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4