Last active
May 18, 2022 07:36
-
-
Save bronsen/9000037 to your computer and use it in GitHub Desktop.
feierabend!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/zsh | |
echo 'Commencing Feierabend' | |
git stash | |
git switch main | |
git stash pop | |
git commit -a -m 'Feierabend' | |
git push --force origin main | |
/usr/bin/expect -c "spawn fab production deploy; expect 'out: sudo password:'; send 'dieRuthbacktsogut';" | |
echo 'Feierabend accomplished' | |
sudo shutdown -h now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment