Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aphp1_classwork80
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Egor Kremnev
aphp1_classwork80
Commits
373757a2
Commit
373757a2
authored
Sep 05, 2023
by
Egor Kremnev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit deploy scripts
parent
60321fe4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
apply-update.sh
scripts/apply-update.sh
+1
-4
deploy-update-package.sh
scripts/deploy-update-package.sh
+0
-1
No files found.
scripts/apply-update.sh
View file @
373757a2
...
...
@@ -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
}
...
...
scripts/deploy-update-package.sh
View file @
373757a2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment