Skip to content

Commit

Permalink
another try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hpk42 committed Jul 8, 2024
1 parent 4050c5c commit 401c24d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cmdeploy/src/cmdeploy/cmdeploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ def run_cmd(args, out):
if retcode == 0:
out.green("Deploy completed, call `cmdeploy test` next.")
elif not remote_data["acme_account_url"]:
out("Deploy completed but letsencrypt not configured, re-checking DNS")
return dns_cmd(args, out)
out.red("Deploy completed but letsencrypt not configured")
out.red("Run 'cmdeploy dns' or 'cmdeploy run' again")
retcode = 0
else:
out.red("Deploy failed")
return retcode
Expand Down
2 changes: 1 addition & 1 deletion cmdeploy/src/cmdeploy/remote_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def perform_initial_checks(mail_domain):

res["acme_account_url"] = shell("acmetool account-url", fail_ok=True)
shell("apt-get install -y dnsutils")
shell("unbound-control flush_zone {mail_domain}", fail_ok=True)
shell(f"unbound-control flush_zone {mail_domain}", fail_ok=True)

res["dkim_entry"] = get_dkim_entry(mail_domain, dkim_selector="opendkim")

Expand Down

0 comments on commit 401c24d

Please # to comment.