@eshanized: push via push.sh!!!

This commit is contained in:
2024-03-07 11:54:34 +05:30
parent c805021cf3
commit 5c4ce0f4e3
2 changed files with 130 additions and 0 deletions

28
push.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/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-updater
# 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: push via push.sh!!!"
# Git Action
git add .
git commit -m "$MESSAGE"
git push origin "$BRANCH"