refactor: remove previous push script

This commit is contained in:
Eshan Roy (Eshanized)
2024-05-02 21:50:44 +05:30
parent 20f69f3666
commit e537d1768f

28
push.sh
View File

@@ -1,28 +0,0 @@
# !/bin/bash
# Author : Eshan Roy <eshan@snigdhaos.org>
# Author URI : https://eshanized.github.io/
# NOTE: REPO = Your Repository Name On the Host
# NOTE: ORG = Your ORGANIZATION NAME or USERNAME
# NOTE: HOST = GitHub, Gitlab, Bitbucket etc.
# Repo Config
REPO=snigdhaos-pkgbuilds
# Host Config
HOST=https://github.com
# Destination Config
ORG=Snigdha-OS
# Set the repository URL and branch
# shellcheck disable=SC2034
REPO_URL="${HOST}/${ORG}/${REPO}.git"
BRANCH="master" # or "main" depending on your repository's default branch
# Commit message
MESSAGE="⏳ @eshanized updated the repository 🎉 "
# Add all files, commit, and push changes
git add .
git commit -m "$MESSAGE"
git push origin $BRANCH