Skip to content

Instantly share code, notes, and snippets.

View isabel22's full-sized avatar

Isabel Garcia isabel22

  • Düsseldorf, Germany
  • 19:01 (UTC +02:00)
View GitHub Profile
@isabel22
isabel22 / post-deploy.yml
Created February 5, 2019 15:58 — forked from klappradla/post-deploy.yml
Rake tasks as post deploy hooks for AWS Elastic Beanstalk Puma-Rails applications
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/01_do_stuff.sh" :
mode: "000755"
owner: ec2-user
group: ec2-user
content: |
#! /usr/bin/env bash
# Using similar syntax as the appdeploy pre hooks that is managed by AWS
set -xe