mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
deploy: enable automated repo add
This commit is contained in:
parent
72e1eb1457
commit
3e6fac5c0e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue