Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Deploy SvelteKit to GitHub Pages

on:
workflow_dispatch: # allows manual trigger
push:
branches: [main]

permissions:
contents: read
Expand All @@ -21,9 +22,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm # cache node_modules for faster builds

- name: Install dependencies
run: npm i
run: npm ci

# Build the SvelteKit project
- name: Build project
Expand Down