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
04e10811
Commit
04e10811
authored
Dec 29, 2025
by
Vũ Hoàng Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: final fix using runner build path and env copy
parent
a5b3fc5d
Pipeline
#3301
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
No files found.
.gitlab-ci.yml
View file @
04e10811
...
@@ -5,11 +5,11 @@ deploy_to_server:
...
@@ -5,11 +5,11 @@ deploy_to_server:
stage
:
deploy
stage
:
deploy
# Không dùng image vì chạy shell trực tiếp trên host
# Không dùng image vì chạy shell trực tiếp trên host
script
:
script
:
-
echo "🚀 Bắt đầu quá trình Deploy t
rực tiếp trên Server
..."
-
echo "🚀 Bắt đầu quá trình Deploy t
ừ Runner Path
..."
-
cd /home/anhvh/canifa_soure
-
# Copy file .env từ folder cũ của bro sang (nếu có) để không bị mất config
-
git pull origin master
-
[
-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!"
-
echo "✅ Deploy thành công
rực rỡ
!"
only
:
only
:
-
master
-
master
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