chezmoi/bin/executable_update-vault.sh
kjuulh 31d7ef27a8
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
2023-07-24 12:42:39 +02:00

23 lines
309 B
Bash

#!/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)"