Skip to content

Instantly share code, notes, and snippets.

View d00vy's full-sized avatar

Casey d00vy

View GitHub Profile
@d00vy
d00vy / post-receive.sample
Last active February 12, 2023 00:17
Git hook post-receive for automated Hugo deployments
#!/bin/bash
## Set to exit immediately on errors
set -eu
## Feedback to user that post-receive script is running.
echo ""
echo " /==============================="
echo " | Push received ... Beginning Build and Deployment script ..."
echo " |"