Skip to content

Commit 53480cf

Browse files
author
Chris Hunt
committed
Update nextjs version and update deps
1 parent 68bc35f commit 53480cf

File tree

5 files changed

+652
-1093
lines changed

5 files changed

+652
-1093
lines changed

build_all_branches.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ echo "$(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|d
1515
for BRANCH in $(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop|gh-pages)$'); do
1616
SANITIZED_BRANCH="$(echo $BRANCH | sed 's/\//_/g')"
1717
echo "$SANITIZED_BRANCH" >> base/versions.txt
18-
git checkout $BRANCH
18+
git checkout --force $BRANCH
1919
node processing
2020
cp -a public/. process
2121
sed -i "s/1.0/$SANITIZED_BRANCH/" site/next.config.js
22+
npm install --quiet --prefix site
2223
npm run deploy --prefix site
2324
cp -a process/. public/ # Have to run it again because the deploy wipes the file and folders out
2425
rm -rf process

site/next.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/** @type {import('next').NextConfig} */
22

33
const nextConfig = {
4+
output: 'export',
5+
distDir: '../public',
46
env: {
57
name: 'Kasm Technologies',
68
description: 'The official store for Kasm supported workspaces.',
@@ -9,7 +11,6 @@ const nextConfig = {
911
contactUrl: 'https://kasmweb.com/support',
1012
},
1113
reactStrictMode: true,
12-
swcMinify: true,
1314
basePath: '/kasm-registry/1.0',
1415
trailingSlash: true,
1516
images: {

0 commit comments

Comments
 (0)