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

edit deploy scripts

parent 60321fe4
...@@ -100,13 +100,10 @@ php artisan route:cache ...@@ -100,13 +100,10 @@ php artisan route:cache
info "# Optimizing View Loading" info "# Optimizing View Loading"
php artisan view:cache php artisan view:cache
# php artisan migrate # Выполним посев
docker-compose build docker-compose build
docker-compose up -d docker-compose up -d
# info "# Restart nginx server" docker exec app php artisan migrate
# service nginx restart
cd ${APPLICATION_ROOT_PATH} cd ${APPLICATION_ROOT_PATH}
......
...@@ -44,7 +44,6 @@ script_execution_dir=$(pwd) ...@@ -44,7 +44,6 @@ script_execution_dir=$(pwd)
info "Scripts run under ${script_execution_dir} directory" info "Scripts run under ${script_execution_dir} directory"
scp ${PATH_TO_SCRIPTS_DIR}/apply-update.sh ${HOST}:${APPLICATION_ROOT_PATH} 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} scp ${LATEST_ARTIFACT_PATH} ${HOST}:${APPLICATION_ROOT_PATH}
echo ${VERSION} > VERSION 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