diff --git a/.github/workflows/build_pglite.yml b/.github/workflows/build_pglite.yml index eea7ce245..a7b0790f3 100644 --- a/.github/workflows/build_pglite.yml +++ b/.github/workflows/build_pglite.yml @@ -113,6 +113,13 @@ jobs: run: | bash ./cibuild.sh demo-site + - name: Build docs + working-directory: ./docs + run: | + pnpm install + pnpm run docs:build + cp -r ./.vitepress/dist/* /tmp/web/ + - name: Upload Postgres to Github artifacts id: upload-postgres-wasm uses: actions/upload-artifact@v4 diff --git a/.gitignore b/.gitignore index 1143d84b0..a59f5afa8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ .DS_Store -/node_modules +node_modules /packages/pglite/dist /packages/pglite/pgdata-test /packages/pglite/package-lock.json @@ -10,3 +10,6 @@ /postgresql-16.3.tar.bz2 /postgresql-16.3 /postgresql + +docs/.vitepress/dist +docs/.vitepress/cache \ No newline at end of file diff --git a/cibuild.sh b/cibuild.sh index 2cd0bd72c..02d0db122 100755 --- a/cibuild.sh +++ b/cibuild.sh @@ -344,17 +344,17 @@ do demo-site) echo "==================== demo-site ==========================" echo " -
- - -" > /tmp/web/index.html + + + +