diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 964ba04..57d6479 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,6 +37,15 @@ jobs: mkdir -p ../StarlightWiki/src/content/docs/ cp -r ./docs/* ../StarlightWiki/src/content/docs/ + - name: 'Create ENV File' + run: | + touch ../StarlightWiki/.env + echo VITE_TITLE="Tutorial" >> ../StarlightWiki/.env + echo VITE_SITE_URL="https://wiki.daxa.dev" >> ../StarlightWiki/.env + echo VITE_GITHUB_URL="https://github.com/learndaxa/Wiki" >> ../StarlightWiki/.env + echo VITE_DISCORD_INVITE="https://discord.gg/mZrUeJfxB8" >> ../StarlightWiki/.env + echo VITE_GITHUB_EDIT_LINK="https://github.com/learndaxa/Tutorial/edit/main/docs/" >> ../StarlightWiki/.env + - name: Building Static Site run: | cd ../StarlightWiki/