Sha256: ce46abb4610e972834b3b36b09289839824a54524648d2d915b7a0fe16aa25b4

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

#!/usr/bin/env ruby

#
# This script is launched by post-receive hook when push is completed.
# The general purpose of this script is to run bundler, migration and
# other commands that you want to launch after deployment.
#

require 'pushdeploy'

PushDeploy.new(ARGV) do
    bundle   
    migrate   
    run "touch /tmp/restart.txt" 
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pushdeploy-0.0.18 config/after_deploy.rb
pushdeploy-0.0.17 config/after_deploy.rb
pushdeploy-0.0.16 config/after_deploy.rb
pushdeploy-0.0.15 config/after_deploy.rb
pushdeploy-0.0.14 config/after_deploy.rb
pushdeploy-0.0.13 config/after_deploy.rb