mirror of
https://github.com/YGGverse/howtools.git
synced 2026-03-31 09:35:31 +00:00
21 lines
528 B
Bash
21 lines
528 B
Bash
#!/bin/bash
|
|
|
|
# Sync local database with howto-db repository
|
|
|
|
# =========================================================================
|
|
# Configuration
|
|
# =========================================================================
|
|
|
|
cd /home/bdoku/howto-db
|
|
|
|
CommitMessage=$(date -d "$date -1 days" +"%F")-23-30
|
|
|
|
# =========================================================================
|
|
# Begin upgrade
|
|
# =========================================================================
|
|
|
|
git add .
|
|
|
|
git commit -m $CommitMessage
|
|
|
|
git push
|