Go with ship and make it the default

This commit is contained in:
David Heinemeier Hansson
2023-01-13 17:12:46 +01:00
parent 100d68d67e
commit 5179d0db37

View File

@@ -1,8 +1,8 @@
require_relative "setup" require_relative "setup"
namespace :mrsk do namespace :mrsk do
desc "Deploy app for the first time to a fresh server" desc "Ship the app to servers that will have Docker installed if missing"
task fresh: %w[ server:bootstrap deploy ] task ship: %w[ server:bootstrap deploy ]
desc "Push the latest version of the app, ensure Traefik is running, then restart app" desc "Push the latest version of the app, ensure Traefik is running, then restart app"
task deploy: %w[ registry:login build:deliver traefik:run app:stop app:run prune ] task deploy: %w[ registry:login build:deliver traefik:run app:stop app:run prune ]