skip to main
|
skip to sidebar
Alto on Rails
Sunday, June 22, 2008
How to call a common deploy task during the deployment?
For example, if you want to clean up your releases directory on every deployment (using
Capistrano
), simply add the following lines to your deployment script:
#
deploy.rb
after
'
deploy
'
,
"
deploy:cleanup
"
That's it :-)
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)
Subscribers
Blog Archive
▼
2008
(2)
►
July
(1)
▼
June
(1)
How to call a common deploy task during the deploy...
►
2006
(4)
►
May
(1)
►
March
(1)
►
February
(2)
Applause
Test practices
Thorsten Böttger
Blog mt7 News
Test Practices
About Me
Thorsten Böttger
View my complete profile