deploy: show error if curl fails

pull/8985/head
Niklas Fiekas 2021-05-20 11:56:39 +02:00
parent 46d4a7d01a
commit 5ff9961309
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ ARTIFACT_DIR = "/home/lichess-artifacts"
def curl_cli(command, *, url="https://lichess.org/cli"):
return f"curl -X POST --data {shlex.quote(command)} {shlex.quote(url)} -H @.lila-cli"
return f"curl --fail -X POST --data {shlex.quote(command)} {shlex.quote(url)} -H @.lila-cli"
def asset_profile(ssh, *,