Skip to content

Instantly share code, notes, and snippets.

@ccfelix
ccfelix / laravel_post_receive hook
Created June 5, 2020 23:37 — forked from vool/laravel_post_receive hook
Post receive hook for Laravel website deploy
#!/bin/bash
echo "********************"
echo "Post receive hook: Updating website"
echo "********************"
#set the git repo dir
GIT_REPO_DIR=~/git/<repo>.git
echo "The git repo dir is $GIT_REPO_DIR"