Skip to content

Commit

Permalink
fix build config
Browse files Browse the repository at this point in the history
  • Loading branch information
abbychau committed Aug 15, 2023
1 parent cf7f2f1 commit 1a1fc05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
cache: npm

- name: Install dependencies
run: npm install
run: |
cd docs
npm install
- name: build
env:
Expand Down
1 change: 1 addition & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { vitePreprocess } from '@sveltejs/kit/vite';
import adapter from '@sveltejs/adapter-static';

const dev = process.argv.includes('dev');

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
Expand Down

0 comments on commit 1a1fc05

Please sign in to comment.