Skip to content

Commit

Permalink
try fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Treier committed Jan 3, 2025
1 parent d482634 commit 6a3939d
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6a3939d

Please sign in to comment.