mirror of
https://github.com/YGGverse/howtools.git
synced 2026-03-31 17:45:32 +00:00
initial commit
This commit is contained in:
parent
02d11978fa
commit
2d20e7e86f
4 changed files with 127 additions and 0 deletions
21
sync.sh
Normal file
21
sync.sh
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue