deploy: new repo container takes care of this

This commit is contained in:
Thomas Hobson 2021-02-28 18:29:20 +13:00
parent 1dd9e1a738
commit 70262d8c4b
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 5 deletions

View File

@ -16,11 +16,7 @@ services:
piston_fs_repo: #Temporary solution until CI works piston_fs_repo: #Temporary solution until CI works
build: repo build: repo
command: > command: ['python'] # Only build python
bash -c '/repo/make.sh &&
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: volumes:
- ./repo:/repo - ./repo:/repo
- ./packages:/packages - ./packages:/packages