fix pipeline

This commit is contained in:
Sieciech 2021-07-28 16:59:21 +02:00
parent 1eb675fb1f
commit dd2defd11d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -124,7 +124,7 @@ 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 '''sed -i 's/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrl}/g' .env.dev'''
sh 'php8.0 /usr/local/bin/composer dump-env dev'
}