generated from Luis/nextjs-python-web-template
Fixed ui openapi.json bug. Reverted buildDir settings
This commit is contained in:
@@ -58,7 +58,8 @@ jobs:
|
||||
git commit -am "update ui-assets.nix"
|
||||
|
||||
echo "Current branch: $GITHUB_REF_NAME"
|
||||
git push origin HEAD:$GITHUB_REF_NAME
|
||||
git push origin HEAD:"$GITHUB_REF_NAME"
|
||||
echo "Done uploading"
|
||||
fi
|
||||
else
|
||||
echo "No UI files changed. Skipping asset build and push"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
const nextConfig = {
|
||||
output: "export",
|
||||
images: { unoptimized: true },
|
||||
distDir: "build",
|
||||
eslint: {
|
||||
dirs: ["src"],
|
||||
},
|
||||
|
||||
@@ -25,7 +25,7 @@ pkgs.mkShell {
|
||||
export NEXT_BUILD_ID=$(git log -1 --pretty=format:"%H")
|
||||
|
||||
# re-generate the api code
|
||||
rm -f openapi.json
|
||||
rm -f --interactive=never openapi.json
|
||||
rm -rf src/api
|
||||
cp ${clanPkgs.clan-openapi}/openapi.json .
|
||||
orval
|
||||
|
||||
Reference in New Issue
Block a user