Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
customer-recall
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tools
customer-recall
Commits
cd3ac2cc
Commit
cd3ac2cc
authored
Aug 16, 2025
by
yiling.shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add diagnostic steps to check Docker containers and project directory before deployment
parent
51c6ada0
Pipeline
#3190
failed with stages
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
.gitlab-ci.yml
+4
-0
No files found.
.gitlab-ci.yml
View file @
cd3ac2cc
...
...
@@ -23,6 +23,10 @@ deploy_to_production:
-
echo "Testing SSH connection"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "echo 'SSH connection successful'"
-
echo "SSH connection test completed"
-
echo "Checking current Docker containers"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "docker ps -a"
-
echo "Checking project directory"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "ls -la customer-recall/ 2>/dev/null || echo 'Project directory not found'"
-
echo "Uploading deployment script"
-
scp -P $SSH_PORT deploy_scripts/deploy_with_backup.sh $SSH_USER@$SSH_HOST:/tmp/
-
echo "Setting script permissions"
...
...
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