Skip to content

Commit 8909822

Browse files
committed
added github action for env
1 parent 07e1069 commit 8909822

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ jobs:
4747
uses: actions/configure-pages@v4
4848
- name: Install dependencies
4949
run: npm ci # or pnpm install / yarn install / bun install
50+
- name: Set github env params to env file
51+
uses: c-py/action-dotenv-to-setenv@v5
52+
with:
53+
env-file: .env
5054
- name: Build with VitePress
5155
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
5256
- name: Upload artifact

0 commit comments

Comments
 (0)