-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ba7cdb
commit 681e265
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|