Compare commits
	
		
			No commits in common. "branch11" and "main" have entirely different histories.
		
	
	
		
	
		
@ -1,4 +0,0 @@
 | 
				
			|||||||
FROM nginx:alpine
 | 
					 | 
				
			||||||
COPY ./custom1/*.html /usr/share/nginx/html/
 | 
					 | 
				
			||||||
EXPOSE 80
 | 
					 | 
				
			||||||
CMD ["nginx", "-g", "daemon off;"]
 | 
					 | 
				
			||||||
							
								
								
									
										1781
									
								
								about.html
									
									
									
									
									
								
							
							
						
						
									
										1781
									
								
								about.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1777
									
								
								contact.html
									
									
									
									
									
								
							
							
						
						
									
										1777
									
								
								contact.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1789
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										1789
									
								
								index.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1778
									
								
								login.html
									
									
									
									
									
								
							
							
						
						
									
										1778
									
								
								login.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1774
									
								
								privacy_policy.html
									
									
									
									
									
								
							
							
						
						
									
										1774
									
								
								privacy_policy.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										29
									
								
								push.sh
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								push.sh
									
									
									
									
									
								
							@ -1,29 +0,0 @@
 | 
				
			|||||||
ONFIGURATION =====
 | 
					 | 
				
			||||||
REPO_URL="http://157.66.191.31:3000/risadmin_prod/htmldeploy.git"
 | 
					 | 
				
			||||||
REPO_DIR="common"
 | 
					 | 
				
			||||||
NEW_BRANCH="<your_new_branch_name>"  # Replace this or inject dynamically
 | 
					 | 
				
			||||||
COMMIT_MSG="Auto commit to $NEW_BRANCH at $(date)"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# ===== STEP 1: CLONE THE REPO =====
 | 
					 | 
				
			||||||
if [ -d "$REPO_DIR" ]; then
 | 
					 | 
				
			||||||
    echo "Directory '$REPO_DIR' already exists. Deleting it..."
 | 
					 | 
				
			||||||
    rm -rf "$REPO_DIR"
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo "Cloning repository..."
 | 
					 | 
				
			||||||
git clone "$REPO_URL"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# ===== STEP 2: CREATE AND SWITCH TO NEW BRANCH =====
 | 
					 | 
				
			||||||
cd "$REPO_DIR" || exit 1
 | 
					 | 
				
			||||||
git checkout -b "$NEW_BRANCH"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# ===== STEP 3: COPY FILES (optional) =====
 | 
					 | 
				
			||||||
# Example: If your files are in /data/html_files
 | 
					 | 
				
			||||||
# cp /data/html_files/*.html .
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# ===== STEP 4: COMMIT AND PUSH =====
 | 
					 | 
				
			||||||
git add .
 | 
					 | 
				
			||||||
git commit -m "$COMMIT_MSG" || echo "Nothing to commit"
 | 
					 | 
				
			||||||
git push origin "$NEW_BRANCH"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo "Code pushed to branch '$NEW_BRANCH'"
 | 
					 | 
				
			||||||
							
								
								
									
										1776
									
								
								services.html
									
									
									
									
									
								
							
							
						
						
									
										1776
									
								
								services.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1778
									
								
								sign_up.html
									
									
									
									
									
								
							
							
						
						
									
										1778
									
								
								sign_up.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user