diff --git a/Jenkinsfile b/Jenkinsfile index a3e1aa4..4dbea50 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,8 +16,10 @@ pipeline { stage('deploy') { steps { sh 'cd /home/administrator/apps/$IMAGE_NAME/ ; docker-compose up -d' + sh 'docker exec willaengine bash -c "COMPOSER=composer-prod.json composer update"' sh 'docker exec willaengine service cron start' sh 'docker exec willaengine php artisan config:cache' + sh 'docker exec willaengine php artisan route:cache' } }