From 95b0704d7c1698204ec28732957ab4390c33ae87 Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Thu, 19 Sep 2024 20:21:37 +0200 Subject: [PATCH] chore(cd): added config for docs deployment --- .github/workflows/cd-preview-build.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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