fix curl grep str

This commit is contained in:
Nick Sweeting 2020-07-28 08:22:40 -04:00
parent e671ddd22b
commit 331418ef8b

View file

@ -131,15 +131,15 @@ jobs:
- name: Curl index with PUBLIC_INDEX=False
run: |
docker-compose run archivebox config --set PUBLIC_INDEX=False
docker-compose restart ||
docker-compose up -d || true
sleep 10
curl --silent --location 'http://127.0.0.1:8000' | grep 'ArchiveBox Admin'
sleep 8
curl --silent --location 'http://127.0.0.1:8000' | grep 'Log in'
docker-compose down
- name: Curl index with PUBLIC_INDEX=True
run: |
docker-compose run archivebox config --set PUBLIC_INDEX=True
docker-compose restart || true
docker-compose up -d || true
sleep 10
sleep 8
curl --silent --location 'http://127.0.0.1:8000' | grep 'Add Links'
docker-compose down