Automated commit from Docker container

This commit is contained in:
risadmin_prod 2025-05-16 10:11:11 +00:00
parent b9b55a42fd
commit c46c73346a
12 changed files with 17808 additions and 2 deletions

View File

@ -1,2 +0,0 @@
# htmldeploy

1781
about.html Normal file

File diff suppressed because it is too large Load Diff

1776
blog.html Normal file

File diff suppressed because it is too large Load Diff

1777
contact.html Normal file

File diff suppressed because it is too large Load Diff

1776
faq.html Normal file

File diff suppressed because it is too large Load Diff

1789
index.html Normal file

File diff suppressed because it is too large Load Diff

1778
login.html Normal file

File diff suppressed because it is too large Load Diff

1774
privacy_policy.html Normal file

File diff suppressed because it is too large Load Diff

29
push.sh Normal file
View 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

File diff suppressed because it is too large Load Diff

1778
sign_up.html Normal file

File diff suppressed because it is too large Load Diff

1774
terms_and_conditions.html Normal file

File diff suppressed because it is too large Load Diff