Compare commits
21 Commits
dev
...
4-pipeline
Author | SHA1 | Date |
---|---|---|
|
6039376310 | |
|
dd2defd11d | |
|
1eb675fb1f | |
|
3466d86c6a | |
|
8e2440c6cd | |
|
96a4ec0e8f | |
|
db20421483 | |
|
af41bab1eb | |
|
eafce0a52e | |
|
d5b0a740b4 | |
|
90d5de728d | |
|
4a26262bac | |
|
5f9789c437 | |
|
4ce25f5a61 | |
|
9e1c7e6870 | |
|
53c6780197 | |
|
ddd5c55615 | |
|
0a40523c2c | |
|
797f83b777 | |
|
1d9f5bbc50 | |
|
5280f17456 |
|
@ -123,8 +123,8 @@ pipeline {
|
|||
stage('Backend') {
|
||||
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 '''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'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue