Skip to content

Instantly share code, notes, and snippets.

Chris Free chrisfree

Block or report user

Report or block chrisfree

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
chrisfree / labels.json
Last active Jan 25, 2019
Chromatic's Default GitHub Labels
View labels.json
"name": "1-Emergency / 911",
"color": "#911f1f"
"name": "2-Critical",
"color": "#f46541"
chrisfree /
Created Feb 11, 2016
Backup a Drupal site to Amazon S3 using Drush
# Switch to the docroot.
cd /var/www/yourProject/docroot/
# Backup the database.
drush sql-dump --gzip --result-file=/home/yourJenkinsUser/db-backups/yourProject-`date +%F-%T`.sql.gz
# Switch to the backups directory.
cd /home/yourJenkinsUser/db-backups/
# Store the recently created db's filename as a variable.
chrisfree /
Created Jan 8, 2016
Example Drupal 8 Deployment with Drush
echo ""
echo "Switching to project docroot."
cd /var/www/
echo ""
echo "Pulling down the latest code."
git pull origin master
echo ""
echo "Clearing drush caches."
View gist:6affb7517f67586d721a
- hosts: Chromatic-Demo-1
gather_facts: true
- base-os
- new-user
- apache2
- php55
- drush
- redis-server
You can’t perform that action at this time.