Skip to content

Instantly share code, notes, and snippets.

@ciavashkh
Last active June 30, 2017 10:02
Show Gist options
  • Save ciavashkh/d373571954b353a041eb55a129dafc85 to your computer and use it in GitHub Desktop.
Save ciavashkh/d373571954b353a041eb55a129dafc85 to your computer and use it in GitHub Desktop.
staging: # Environment
after_bundle: # Hook point
- command: cd $STACK_BASE/releases/$(ls -1 -t $STACK_BASE/releases/ | head -n1) && RAILS_ENV=$RAILS_ENV RAILS_GROUPS=assets bundle exec rake assets:precompile > /tmp/assets.log 2>&1
target: rails # Hook fields
run_on:
execute: true
run_as: cloud66-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment