Add rake task to run after party with mina
This commit is contained in:
parent
bd519835cd
commit
55525af060
2 changed files with 16 additions and 2 deletions
|
@ -25,3 +25,10 @@ task :deploy do
|
|||
sh "mina deploy domain=#{domain} branch=#{branch} force_asset_precompile=true"
|
||||
end
|
||||
end
|
||||
|
||||
task :post_deploy do
|
||||
domains = domains_for_stage(ENV.fetch('STAGE'))
|
||||
branch = ENV.fetch('BRANCH')
|
||||
|
||||
sh "mina post_deploy domain=#{domains.first} branch=#{branch}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue