Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a require_destination setting #451

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Add a require_destination setting #451

merged 1 commit into from
Sep 12, 2023

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Sep 11, 2023

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 and output:

  Finished all in 0.0 seconds
  ERROR (ArgumentError): You must specify a destination

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.
@djmb djmb merged commit daa53f5 into main Sep 12, 2023
6 checks passed
@djmb djmb deleted the require-destinations branch September 12, 2023 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant