deploy: enable automated repo add

This commit is contained in:
Thomas Hobson 2021-02-22 21:13:31 +13:00
parent 72e1eb1457
commit 3e6fac5c0e
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ services:
build: repo
command: >
bash -c '/repo/make.sh &&
true || curl http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml";
curl http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml";
echo -e "\nAn error here is fine, it just means its already added it. Perhaps you restarted this container"
'
volumes: