diff --git a/.github/workflows/cd-preview-build.yaml b/.github/workflows/cd-preview-build.yaml index a64c7aa7..1e3dec52 100644 --- a/.github/workflows/cd-preview-build.yaml +++ b/.github/workflows/cd-preview-build.yaml @@ -49,6 +49,10 @@ jobs: - name: Build the docs run: pnpm -F @enclosed/docs build + env: + VITE_IS_PLAUSIBLE_ENABLED: ${{ secrets.DOCS_IS_PLAUSIBLE_ENABLED }} + VITE_PLAUSIBLE_DOMAIN: ${{ secrets.DOCS_PLAUSIBLE_DOMAIN }} + VITE_PLAUSIBLE_SCRIPT_SRC: ${{ secrets.DOCS_PLAUSIBLE_SCRIPT_SRC }} # Uploads the build directory as a workflow artifact - name: Upload build artifact