From 8909822c243d9c437eb6551745b48a175bd04504 Mon Sep 17 00:00:00 2001 From: Sabuj Kundu Date: Tue, 10 Dec 2024 14:51:58 +0600 Subject: [PATCH] added github action for env --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9691fef..ad82193 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,6 +47,10 @@ jobs: uses: actions/configure-pages@v4 - name: Install dependencies run: npm ci # or pnpm install / yarn install / bun install + - name: Set github env params to env file + uses: c-py/action-dotenv-to-setenv@v5 + with: + env-file: .env - name: Build with VitePress run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build - name: Upload artifact