Skip to content

Commit

Permalink
workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manchumahara committed Dec 10, 2024
1 parent 9ba7cdb commit 681e265
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,19 @@ 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
#- name: Set github env params to env file
# uses: c-py/action-dotenv-to-setenv@v5
# with:
# env-file: .env
- name: 'Create env file'
run: touch .env
- name: Creating .env file
uses: fmunirdev/[email protected]
env:
VITEPRESS_BASE_URL: ''
VITEPRESS_BASE: ''
with:
env-file: .env
variableName: VITEPRESS_BASE_URL,VITEPRESS_BASE
- name: Build with VitePress
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
Expand Down

0 comments on commit 681e265

Please sign in to comment.