aboutsummaryrefslogtreecommitdiff
path: root/bin/update-scripts-repo.sh
blob: 03a20eeda4dd5fd6b0051dc75ba215680db76d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
# Author : Clyhtsuriva

SCRIPTS_REPO_PATH="$HOME/workbench/scripts/"

pushd "$SCRIPTS_REPO_PATH" || exit 1

cp -rv "$HOME/.local/usr/local/bin" .
cp -rv "$HOME/workbench/auto-void-packages" .
cp -rv "$HOME/workbench/ansible" .

git status | less && git diff | less
git add . && git commit && git push -v --progress

popd || exit 1