Ship is cuter, but deploy is clearer
Kill your darlings
This commit is contained in:
@@ -8,8 +8,8 @@ require "mrsk/cli/server"
|
|||||||
require "mrsk/cli/traefik"
|
require "mrsk/cli/traefik"
|
||||||
|
|
||||||
class Mrsk::Cli::Main < Mrsk::Cli::Base
|
class Mrsk::Cli::Main < Mrsk::Cli::Base
|
||||||
desc "ship", "Ship the app to servers"
|
desc "deploy", "Deploy the app to servers"
|
||||||
def ship
|
def deploy
|
||||||
print_runtime do
|
print_runtime do
|
||||||
invoke "mrsk:cli:server:bootstrap"
|
invoke "mrsk:cli:server:bootstrap"
|
||||||
invoke "mrsk:cli:registry:login"
|
invoke "mrsk:cli:registry:login"
|
||||||
@@ -21,8 +21,8 @@ class Mrsk::Cli::Main < Mrsk::Cli::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "reship", "Ship new version of the app to servers (without bootstrapping servers, starting Traefik, pruning, and registry login)"
|
desc "redeploy", "Deploy new version of the app to servers (without bootstrapping servers, starting Traefik, pruning, and registry login)"
|
||||||
def reship
|
def redeploy
|
||||||
print_runtime do
|
print_runtime do
|
||||||
invoke "mrsk:cli:build:deliver"
|
invoke "mrsk:cli:build:deliver"
|
||||||
invoke "mrsk:cli:app:stop"
|
invoke "mrsk:cli:app:stop"
|
||||||
|
|||||||
Reference in New Issue
Block a user