Add a require_destination setting

If you always want to use a destination, and have a base deploy.yml file
that doesn't specify any hosts, then if you forget to specific the
destination you will get a cryptic error.

Add a "require_destination" setting you can use to avoid this.
This commit is contained in:
Donal McBreen
2023-09-11 15:16:28 +01:00
parent 9d35793287
commit 26dcd75423
4 changed files with 38 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
service: app
image: dhh/app
registry:
server: registry.digitalocean.com
username: <%= "my-user" %>
password: <%= "my-password" %>
require_destination: true