Skip to content

Instantly share code, notes, and snippets.

View rkmaier's full-sized avatar

Maier Erik rkmaier

View GitHub Profile
@rkmaier
rkmaier / laravel-deploy.sh
Created January 11, 2019 19:54 — forked from vedmant/laravel-deploy.sh
A script for deploying Laravel application, includes maintenance mode, composer, migrations, clearing cache and restart queues
#!/bin/bash
NO_DEV="--no-dev"
if [[ $1 == "dev" ]]; then
NO_DEV=""
fi
git fetch