Automated commit from Docker container
This commit is contained in:
		
							parent
							
								
									b9b55a42fd
								
							
						
					
					
						commit
						c46c73346a
					
				
							
								
								
									
										1781
									
								
								about.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1781
									
								
								about.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1777
									
								
								contact.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1777
									
								
								contact.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1789
									
								
								index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1789
									
								
								index.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1778
									
								
								login.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1778
									
								
								login.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1774
									
								
								privacy_policy.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1774
									
								
								privacy_policy.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										29
									
								
								push.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								push.sh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,29 @@ | |||||||
|  | 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
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1776
									
								
								services.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1778
									
								
								sign_up.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1778
									
								
								sign_up.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1774
									
								
								terms_and_conditions.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1774
									
								
								terms_and_conditions.html
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 risadmin_prod
						risadmin_prod