We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7974126 commit b61b2aeCopy full SHA for b61b2ae
backup.sh
100644
100755
kgb.sh
lib/functions/github_functions.sh
@@ -55,7 +55,7 @@ backup_config_folders() {
55
log_msg "Committing to GitHub repository"
56
git -C "${FOLDER}" commit -m "backup $(date +%F)" | tee -a "${HOME}/kgb-log/$(date +%F).log"
57
log_msg "Pushing to GitHub repository"
58
- git -C "${FOLDER}" push -u origin "${BRANCH}" | tee -a "${HOME}/kgb-log/$(date +%F).log"
+ git -C "${FOLDER}" push -u origin "${GITHUB_BRANCH}" | tee -a "${HOME}/kgb-log/$(date +%F).log"
59
done
60
}
61
0 commit comments