Update 'Jenkinsfile'

pull/132/head
saeid_01 3 years ago
parent 151c7ab3be
commit 457bdcfa23

2
Jenkinsfile vendored

@ -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'
}
}

Loading…
Cancel
Save