Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Run a build script in Copy deploy strategy #82

Merged
merged 1 commit into from Sep 24, 2011

Conversation

Projects
None yet
2 participants
Contributor

brugidou commented Aug 16, 2011

Use the :build_script configuration variable

The build script will be run before compression/exclusion of files,
if a :copy_cache is used, the build will run in the cache directory.

The reason for this is because it is very common to run a build script once before deploying (and not after deploying using the finalize_update task). Let me know if this is a good idea or if you have a better/smarter/prettier solution. We could consider extending this to also accept a block as a build_script.

Thanks for the feedback

Run a build script in Copy deploy strategy
Use the :build_script configuration variable

The build script will be run before compression/exclusion of files,
if a :copy_cache is used, the build will run in the cache directory.

leehambley added a commit that referenced this pull request Sep 24, 2011

Merge pull request #82 from brugidou/copy-strategy-with-build-script
Run a build script in Copy deploy strategy

@leehambley leehambley merged commit 401a21b into capistrano:master Sep 24, 2011

mattbrictson pushed a commit to mattbrictson/capistrano that referenced this pull request Aug 24, 2016

Merge pull request #82 from x3ro/overriding-tasks
How to override existing capistrano tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment