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
cf2e996b
Commit
cf2e996b
authored
1 year ago
by
Egor Kremnev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix scripts
parent
0a37761f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
deploy-update-package.sh
scripts/deploy-update-package.sh
+4
-1
No files found.
scripts/deploy-update-package.sh
View file @
cf2e996b
...
...
@@ -22,6 +22,9 @@ PATH_TO_NGINX_CONFIG_FILE=${PATH_TO_SCRIPTS_DIR}/nginx/default.conf
APPLICATION_ROOT_PATH
=
/home/demo
DB_PASSWORD_ENV
=
${
5
}
DB_USERNAME_ENV
=
${
6
}
DB_HOST_ENV
=
${
7
}
DB_PORT_ENV
=
${
8
}
# Archive name
LATEST_ARTIFACT_NAME
=
application-
${
VERSION
}
.tar.gz
...
...
@@ -51,5 +54,5 @@ scp VERSION ${HOST}:${APPLICATION_ROOT_PATH}
echo
${
HOST
}
ssh
${
HOST
}
<<
EOL
chmod +x
${
APPLICATION_ROOT_PATH
}
/apply-update.sh
${
APPLICATION_ROOT_PATH
}
/apply-update.sh
${
INSTANCE_NAME
}
${
LATEST_ARTIFACT_NAME
}
${
APPLICATION_ROOT_PATH
}
${
DB_PASSWORD_ENV
}
${
APPLICATION_ROOT_PATH
}
/apply-update.sh
${
INSTANCE_NAME
}
${
LATEST_ARTIFACT_NAME
}
${
APPLICATION_ROOT_PATH
}
${
DB_PASSWORD_ENV
}
${
DB_USERNAME_ENV
}
${
DB_HOST_ENV
}
${
DB_PORT_ENV
}
EOL
This diff is collapsed.
Click to expand it.
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