Files
snigdhaos-system-config/push.sh
2024-04-16 18:20:45 +05:30

28 lines
521 B
Bash
Executable File

#!/bin/bash
# A simple script to maintain github repository
# Author : Eshan Roy <eshan@snigdhaos.org>
# Author URL : https://eshanized.github.io/
# REPOSITORY Config
REPO=snigdhaos-system-config
# HOST Config
HOST=https://github.com
# DESTINATION Config
ORG=Snigdha-OS
# SETUP REPO URL
REPO_URL="${HOST}/${ORG}/${REPO}.git"
BRANCH="master" #or "main"
# Commit Message:
MESSAGE="⏳ @eshanized updated the repository 🎉 !!!"
# Git Action
git add .
git commit -m "$MESSAGE"
# git push origin "$BRANCH"