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
#!/bin/bash | |
# | |
# Deployment of Jekyll-Sites on Uberspace | |
# via Git Bare Repository and post-receive Hook. | |
# | |
# See https://netzaffe.de/jekyll-deployment-auf-uberspace-via-bare-repo-und-post-receive-hook/ | |
# for requirements and more detailed description (german) | |
read oldrev newrev ref | |
pushed_branch=${ref#refs/heads/} |