ignore docker restart retcode

This commit is contained in:
Nick Sweeting 2020-07-28 08:02:08 -04:00
parent f6ec98e1c0
commit ab1dac50f6

View file

@ -131,13 +131,13 @@ jobs:
- name: Curl index with PUBLIC_INDEX=False - name: Curl index with PUBLIC_INDEX=False
run: | run: |
docker-compose run archivebox config --set PUBLIC_INDEX=False docker-compose run archivebox config --set PUBLIC_INDEX=False
docker-compose restart docker-compose restart || true
sleep 6 sleep 6
curl --silent --location 'http://127.0.0.1:8000' | grep 'ArchiveBox Admin' curl --silent --location 'http://127.0.0.1:8000' | grep 'ArchiveBox Admin'
- name: Curl index with PUBLIC_INDEX=True - name: Curl index with PUBLIC_INDEX=True
run: | run: |
docker-compose run archivebox config --set PUBLIC_INDEX=True docker-compose run archivebox config --set PUBLIC_INDEX=True
docker-compose restart docker-compose restart || true
sleep 6 sleep 6
curl --silent --location 'http://127.0.0.1:8000' | grep 'Add Links' curl --silent --location 'http://127.0.0.1:8000' | grep 'Add Links'