Compare commits

..

No commits in common. "0214370dbc8cba1ecb734bbe90e1e16ecc37152f" and "b9b55a42fd8bdea13675752ad97d005c7fffa5ab" have entirely different histories.

12 changed files with 2 additions and 17808 deletions

2
README.md Normal file
View File

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

1781
about.html

File diff suppressed because it is too large Load Diff

1776
blog.html

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1776
faq.html

File diff suppressed because it is too large Load Diff

1789
index.html

File diff suppressed because it is too large Load Diff

1778
login.html

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

29
push.sh
View File

@ -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'"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff