Commit 373757a2 authored by Egor Kremnev's avatar Egor Kremnev

edit deploy scripts

parent 60321fe4
......@@ -100,13 +100,10 @@ php artisan route:cache
info "# Optimizing View Loading"
php artisan view:cache
# php artisan migrate # Выполним посев
docker-compose build
docker-compose up -d
# info "# Restart nginx server"
# service nginx restart
docker exec app php artisan migrate
cd ${APPLICATION_ROOT_PATH}
......
......@@ -44,7 +44,6 @@ script_execution_dir=$(pwd)
info "Scripts run under ${script_execution_dir} directory"
scp ${PATH_TO_SCRIPTS_DIR}/apply-update.sh ${HOST}:${APPLICATION_ROOT_PATH}
scp ${PATH_TO_NGINX_CONFIG_FILE} ${HOST}:/etc/nginx/sites-available/default
scp ${LATEST_ARTIFACT_PATH} ${HOST}:${APPLICATION_ROOT_PATH}
echo ${VERSION} > VERSION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment