Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chatbot canifa
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Vũ Hoàng Anh
chatbot canifa
Commits
9cb5f9be
Commit
9cb5f9be
authored
Dec 29, 2025
by
Vũ Hoàng Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: fix yaml syntax for shell commands
parent
04e10811
Pipeline
#3302
passed with stage
in 2 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
.gitlab-ci.yml
.gitlab-ci.yml
+2
-3
No files found.
.gitlab-ci.yml
View file @
9cb5f9be
...
@@ -3,11 +3,10 @@ stages:
...
@@ -3,11 +3,10 @@ stages:
deploy_to_server
:
deploy_to_server
:
stage
:
deploy
stage
:
deploy
#
Không dùng image vì chạy shell
trực tiếp trên host
#
Chế độ shell chạy
trực tiếp trên host
script
:
script
:
-
echo "🚀 Bắt đầu quá trình Deploy từ Runner Path..."
-
echo "🚀 Bắt đầu quá trình Deploy từ Runner Path..."
-
# Copy file .env từ folder cũ của bro sang (nếu có) để không bị mất config
-
"
if
[
-f
/home/anhvh/canifa_soure/chatbot-canifa/backend/.env
];
then
cp
/home/anhvh/canifa_soure/chatbot-canifa/backend/.env
backend/.env;
fi"
-
[
-f /home/anhvh/canifa_soure/chatbot-canifa/backend/.env
]
&&
cp /home/anhvh/canifa_soure/chatbot-canifa/backend/.env backend/.env
-
cd backend
-
cd backend
-
docker compose up --build -d
-
docker compose up --build -d
-
echo "✅ Deploy thành công rực rỡ!"
-
echo "✅ Deploy thành công rực rỡ!"
...
...
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