14 lines
311 B
Bash
Executable File
14 lines
311 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Konfigurationsvariablen
|
|
GIT_USERNAME="dikuever"
|
|
REPO_URL="mygitea.ddns.net/dikuever/pihole.git"
|
|
|
|
# Git-Repo mit Token in der URL
|
|
git remote set-url origin https://${GIT_USERNAME}:${GIT_TOKEN}@${REPO_URL}
|
|
|
|
# Änderungen pushen
|
|
git add .
|
|
git commit -m "Automatischer Commit"
|
|
git push origin master
|