Skip to content

Commit

Permalink
Refactor build process to include export directory in Debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiion committed Nov 25, 2024
1 parent 32dd435 commit c2a7370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ override_dh_auto_install:
dh_auto_install
# Install Next.js app
mkdir -p debian/schulstick/usr/share/schulstick/tutor-next
cp -r tutor-next/.next debian/schulstick/usr/share/schulstick/tutor-next/
cp -r tutor-next/export debian/schulstick/usr/share/schulstick/tutor-next/
cp -r tutor-next/markdown debian/schulstick/usr/share/schulstick/tutor-next/
# Install translations
mkdir -p debian/schulstick/usr/share/schulstick/translations
Expand Down
2 changes: 1 addition & 1 deletion tutor-next/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'output',
output: 'export',
distDir: 'export',
images: {
unoptimized: true
Expand Down

0 comments on commit c2a7370

Please sign in to comment.