Skip to content

Instantly share code, notes, and snippets.

View ognus's full-sized avatar
🙂

Tomek Kolasa ognus

🙂
View GitHub Profile
@ognus
ognus / codeship_heroku_with_maintenance_mode.sh
Last active October 12, 2016 08:45 — forked from abinoam/codeship_heroku_with_maintenance_mode.sh
Codeship custom script for Heroku deploying with maintenance mode
#!/bin/sh
# This codeship custom script depends on:
# - API_KEY env var from Heroku
# - STAGING_APP_URL
set -e
export HEROKU_API_KEY="${API_KEY}"