From bce6e1abd982397b3fdc7f95171eaa41a1c71e5b Mon Sep 17 00:00:00 2001 From: Corentin THOMASSET Date: Thu, 19 Sep 2024 20:23:45 +0200 Subject: [PATCH] chore(cd): added config for docs deployment (#185) --- .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