Co-authored-by: Sieciech <www.sieciech@gmail.com> Co-authored-by: Sieciech <michal@fufle.net> Co-authored-by: admin <jenkins@michal.sieciechowicz.pl> Reviewed-on: http://git.fufle.net/Community/CureNet/pulls/27 Co-Authored-By: Sieciech <sieciech@noreply.fufle.net> Co-Committed-By: Sieciech <sieciech@noreply.fufle.net>
This commit is contained in:
		
							parent
							
								
									dc5cb30510
								
							
						
					
					
						commit
						cbca7cb582
					
				| 
						 | 
					@ -123,8 +123,8 @@ pipeline {
 | 
				
			||||||
        stage('Backend') {
 | 
					        stage('Backend') {
 | 
				
			||||||
          steps {
 | 
					          steps {
 | 
				
			||||||
            dir(path: 'src/backend') {
 | 
					            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 '''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'
 | 
					              sh 'php8.0 /usr/local/bin/composer dump-env dev'
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue