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 - 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 up -d || true docker-compose up -d || true
sleep 10 sleep 8
curl --silent --location 'http://127.0.0.1:8000' | grep 'ArchiveBox Admin' curl --silent --location 'http://127.0.0.1:8000' | grep 'Log in'
docker-compose down
- 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 || true
docker-compose up -d || true docker-compose up -d || true
sleep 10 sleep 8
curl --silent --location 'http://127.0.0.1:8000' | grep 'Add Links' curl --silent --location 'http://127.0.0.1:8000' | grep 'Add Links'
docker-compose down