From 3d7b1a7a75a71574c043cc60ac00139825151621 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-app-prod.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cd-app-prod.yaml b/.github/workflows/cd-app-prod.yaml index c0588991..064d4e72 100644 --- a/.github/workflows/cd-app-prod.yaml +++ b/.github/workflows/cd-app-prod.yaml @@ -60,6 +60,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 }} - name: Publish to Cloudflare Pages uses: AdrianGonz97/refined-cf-pages-action@v1