deploy: enable automated repo add
This commit is contained in:
parent
72e1eb1457
commit
3e6fac5c0e
|
@ -18,7 +18,7 @@ services:
|
||||||
build: repo
|
build: repo
|
||||||
command: >
|
command: >
|
||||||
bash -c '/repo/make.sh &&
|
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"
|
echo -e "\nAn error here is fine, it just means its already added it. Perhaps you restarted this container"
|
||||||
'
|
'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue