Add bin/devhamctl
Add bin/docker-traverse.sh Add bin/exec-sanity.sh Add bin/lunardev.sh Add bin/record.sh Add bin/restart-builds-drone.sh Add bin/run-dosier.sh Add bin/sanity.sh Add bin/scan-for-bad-indexes.sh Add bin/ssh-agent.sh Add bin/terraform.sh Add bin/tmux.sh Add bin/update-vault.sh Add bin/zimfwupdate.sh
This commit is contained in:
22
bin/executable_update-vault.sh
Normal file
22
bin/executable_update-vault.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
LOG="$HOME/update-vault.log"
|
||||
|
||||
exec > >(tee -i ${LOG})
|
||||
exec 2>&1
|
||||
|
||||
echo "# Starting update vault: $(date)"
|
||||
|
||||
pushd ~/Documents/vaults/kjuulh/ || return 1
|
||||
|
||||
git add .
|
||||
|
||||
git commit -m "auto commit"
|
||||
|
||||
git pull origin main --rebase
|
||||
|
||||
git push
|
||||
|
||||
popd || return 1
|
||||
|
||||
echo "Finished update vault: $(date)"
|
||||
Reference in New Issue
Block a user