submodule
This commit is contained in:
parent
ce4b28781a
commit
e8e3bdb5c2
12
lib/capistrano/tasks/git.rake
Normal file
12
lib/capistrano/tasks/git.rake
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
namespace :git do
|
||||||
|
desc 'Copy repo to releases'
|
||||||
|
task create_release: :'git:update' do
|
||||||
|
on roles(:all) do
|
||||||
|
with fetch(:git_environmental_variables) do
|
||||||
|
within repo_path do
|
||||||
|
execute :git, :clone, '-b', fetch(:branch), '--recursive', '.', release_path
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue