Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit e6be249

Browse files
fix: new deploy workflow
1 parent 4a9fc72 commit e6be249

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,11 @@ jobs:
3737
mkdir -p ../StarlightWiki/src/content/docs/
3838
cp -r ./docs/* ../StarlightWiki/src/content/docs/
3939
40-
- name: 'Create ENV File'
41-
run: |
42-
touch ../StarlightWiki/.env
43-
echo VITE_TITLE="Daxa Tutorial" >> ../StarlightWiki/.env
44-
echo VITE_SITE_URL="https://tutorial.daxa.dev" >> ../StarlightWiki/.env
45-
echo VITE_GITHUB_URL="https://github.com/learndaxa/Tutorial" >> ../StarlightWiki/.env
46-
echo VITE_DISCORD_INVITE="https://discord.gg/mZrUeJfxB8" >> ../StarlightWiki/.env
47-
4840
- name: Building Static Site
4941
run: |
5042
cd ../StarlightWiki/
5143
npm install
52-
npm run astro build
44+
VITE_SITE=tutorial npm run astro build
5345
5446
- name: Upload artifact
5547
uses: actions/upload-pages-artifact@v1

0 commit comments

Comments
 (0)