diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml index 340e721..3ca3a5b 100644 --- a/.github/workflows/deploy-to-gh-pages.yml +++ b/.github/workflows/deploy-to-gh-pages.yml @@ -38,21 +38,10 @@ jobs: with: node-version: '20' cache: 'yarn' + - name: Install Dependencies + run: yarn - name: Build - run: | - BASE_URL="${{ env.url }}" - [[ $BASE_URL == */ ]] || BASE_URL+=/ - - echo "Using Base URL for SPA: $BASE_URL" - - # Set the Base URL for the SPA - sed -i "s|base: '/'|base: '${BASE_URL}'|" svelte.config.js - - # Install Dependencies - yarn - - # Build the SvelteKit App - yarn build + run: yarn build - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: