Skip to content

Instantly share code, notes, and snippets.

View abkiran's full-sized avatar
💻
Only Code!

Kiran Reddy abkiran

💻
Only Code!
View GitHub Profile
@abkiran
abkiran / settings
Created October 11, 2019 09:58
pycharm settings
ghjhg
@abkiran
abkiran / post-receive-laravel.php
Created September 1, 2018 17:26 — forked from ryansechrest/post-receive-laravel.php
Git post-receive hook to deploy a Laravel application.
#!/bin/bash
# Created on 7/17/13 by Ryan Sechrest
# Deploys pushed branch from the origin repository to the web directory
if [[ (-n $1) && (-n $2) && (-n $3) ]]; then
# Set path to project directory
project_path="/var/www/domains/$2/$3"
@abkiran
abkiran / laravel_post_receive hook
Created September 1, 2018 10:05 — 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"