howtools/sync.sh
2024-02-09 02:19:04 +02:00

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