pipeline
CureNetMulti/pipeline/head This commit looks good
Details
CureNetMulti/pipeline/head This commit looks good
Details
This commit is contained in:
parent
8c19c03f5f
commit
b9004f3d4a
|
@ -124,8 +124,8 @@ pipeline {
|
|||
steps {
|
||||
dir(path: 'src/backend') {
|
||||
sh '''APP_SECRET=`php8.0 -r "echo md5(\\"branch=${BRANCH_NAME};\\");"` && sed -i 's/APP_SECRET=.*/APP_SECRET=${APP_SECRET}/g' .env'''
|
||||
sh '''sed -i 's/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrl}/g' .env.dev'''
|
||||
sh 'php8.0 /usr/local/bin/composer dump-env dev'
|
||||
sh '''sed -i 's/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrl}/g' .env'''
|
||||
sh 'php8.0 /usr/local/bin/composer dump-env prod'
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue