Add remove tasks to clean up

This commit is contained in:
David Heinemeier Hansson
2023-01-08 14:55:06 +01:00
parent 23c2cb898c
commit ffb532a50d
5 changed files with 40 additions and 0 deletions

View File

@@ -20,4 +20,7 @@ namespace :mrsk do
Pathname.new(File.expand_path("templates/deploy.yml", __dir__)),
Rails.root.join("config/deploy.yml")
end
desc "Remove Traefik, app, and registry session from servers"
task remove: %w[ traefik:remove app:remove registry:logout ]
end