mirror of
https://github.com/Snigdha-OS/snigdhaos-status.git
synced 2025-09-20 19:44:59 +02:00
🐞 fix(_404): removed 404 sub-domains
This commit is contained in:
@@ -4,21 +4,21 @@ repo: snigdhaos-status
|
|||||||
assignees:
|
assignees:
|
||||||
- eshanized
|
- eshanized
|
||||||
sites:
|
sites:
|
||||||
- name: SNIGDHAOS-ORG
|
# - name: SNIGDHAOS-ORG
|
||||||
url: https://snigdhaos.org
|
# url: https://snigdhaos.org
|
||||||
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
# icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
||||||
- name: SNIGDHAOS-IO
|
- name: SNIGDHAOS-IO
|
||||||
url: https://snigdha-os.github.io
|
url: https://snigdha-os.github.io
|
||||||
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
||||||
- name: SNIGDHAOS-CLOUD
|
- name: SNIGDHAOS-CLOUD
|
||||||
url: https://cloud.snigdhaos.org
|
# url: https://cloud.snigdhaos.org
|
||||||
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
# icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
||||||
- name: SNIGDHAOS-FORUM
|
# - name: SNIGDHAOS-FORUM
|
||||||
url: https://forum.snigdhaos.org
|
url: https://forum.snigdhaos.org
|
||||||
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
||||||
- name: SNIGDHAOS-DOCS
|
# - name: SNIGDHAOS-DOCS
|
||||||
url: https://snigdhaos.org/documentation/
|
# url: https://snigdhaos.org/documentation/
|
||||||
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
# icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
||||||
- name: SNIGDHAOS-IODOCS
|
- name: SNIGDHAOS-IODOCS
|
||||||
url: https://snigdha-os.github.io/documentation/
|
url: https://snigdha-os.github.io/documentation/
|
||||||
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
icon: https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-assets/master/2024.4/snigdhaos-face.svg
|
||||||
|
52
push.sh
Executable file
52
push.sh
Executable file
@@ -0,0 +1,52 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Author : ESHAN ROY
|
||||||
|
# Author URI : https://eshanized.github.io
|
||||||
|
|
||||||
|
# NOTE : Run at your own Risk!
|
||||||
|
|
||||||
|
# Define the conventional commit types with emojis
|
||||||
|
TYPES=("🎉 feat" "🐞 fix" "📚 docs" "💅 style" "🔨 refactor" "⚡️ perf" "🧪 test" "🛠️ build" "🤖 ci" "🧹 chore" "⏪️ revert")
|
||||||
|
|
||||||
|
# Prompt the user to select a commit type
|
||||||
|
echo "Select a commit type:"
|
||||||
|
select type in "${TYPES[@]}"; do
|
||||||
|
break
|
||||||
|
done
|
||||||
|
|
||||||
|
# Extract the commit type and emoji from the selection
|
||||||
|
type_emoji=${type}
|
||||||
|
type=${type_emoji#* }
|
||||||
|
emoji=${type_emoji% *}
|
||||||
|
|
||||||
|
# Prompt the user to enter a scope (optional)
|
||||||
|
read -p "Enter a scope (optional): " scope
|
||||||
|
|
||||||
|
# Prompt the user to enter a short description
|
||||||
|
read -p "Enter a short description: " desc
|
||||||
|
|
||||||
|
# Prompt the user to enter a longer description (optional)
|
||||||
|
read -p "Enter a longer description (optional): " long_desc
|
||||||
|
|
||||||
|
# Create the commit message
|
||||||
|
commit_msg="$emoji $type($scope): $desc"
|
||||||
|
|
||||||
|
# If a longer description was provided, add it to the commit message
|
||||||
|
if [ -n "$long_desc" ]; then
|
||||||
|
commit_msg+="
|
||||||
|
|
||||||
|
$long_desc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Print the commit message to the console
|
||||||
|
echo "Commit message:"
|
||||||
|
echo "$commit_msg"
|
||||||
|
|
||||||
|
# Stage all changes
|
||||||
|
git add .
|
||||||
|
|
||||||
|
# Commit the changes with the conventional commit message
|
||||||
|
git commit -m "$commit_msg"
|
||||||
|
|
||||||
|
# Push the changes to the remote repository
|
||||||
|
git push origin $(git rev-parse --abbrev-ref HEAD)
|
Reference in New Issue
Block a user