Skip to content

Fix base path (https://kit.svelte.dev/docs/adapter-static#github-pages) #2

Fix base path (https://kit.svelte.dev/docs/adapter-static#github-pages)

Fix base path (https://kit.svelte.dev/docs/adapter-static#github-pages) #2

Workflow file for this run

name: Deploy web
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Build web app
run: |
npm ci
npm run build
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/