submodule

This commit is contained in:
Luna 2021-05-06 17:55:51 +00:00
parent 80f8bcc7ec
commit 649b9f0cae
Signed by: luna
GPG key ID: 48ABA804580B9BA8
3 changed files with 13 additions and 12 deletions

View file

@ -50,4 +50,17 @@ namespace :deploy do
end end
end end
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
after "deploy:symlink:release", "deploy:update_jekyll" after "deploy:symlink:release", "deploy:update_jekyll"

View file

View file

@ -1,12 +0,0 @@
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