Skip to content

Update sidebar promos #5113

Update sidebar promos

Update sidebar promos #5113

Workflow file for this run

name: "Lost Pixel"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Lost Pixel
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install deps
run: npm install
- name: Build docs
run: npm run clean && npm run build
- name: Start docs
run: npm run serve &
- name: Generate sitemap
run: npx lost-pixel page-sitemap-gen http://172.17.0.1:3000/sitemap.xml "./lost-pixel-pages.json"
- name: Edit page names
run: sed -i -e 's/_/\//g' -e 's|prisma\.io||g' -re 's/(name.+)(\/)(\")/\1-\3/g' lost-pixel-pages.json
- name: Lost Pixel
uses: lost-pixel/lost-pixel@v3.16.0
env:
LOST_PIXEL_API_KEY: ${{ secrets.LOST_PIXEL_API_KEY }}