Disable secret check for asset pipeline build

This commit is contained in:
Klaus Zanders
2026-05-12 12:07:54 +02:00
parent e85e044ea3
commit 6723969aba
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -27,6 +27,7 @@ targets:
- NODE_ENV=production
- NPM_CONFIG_PRODUCTION=false
- SECRET_KEY_BASE=1
- OPENPROJECT_DISABLE__SECRET_KEY_BASE__CHECK=true
dependencies:
- epel-release
- ImageMagick
+1 -1
View File
@@ -9,7 +9,7 @@ else
echo "Assets need to be compiled"
JOBS=8 npm install
SECRET_KEY_BASE=1 RAILS_ENV=production DATABASE_URL=nulldb://db \
SECRET_KEY_BASE="$(openssl rand -hex 64)" RAILS_ENV=production DATABASE_URL=nulldb://db \
bin/rails openproject:plugins:register_frontend assets:precompile
if [ "$DOCKER" = "1" ]; then