From 331418ef8b61274034636abc7911893ae9f70711 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 28 Jul 2020 08:22:40 -0400 Subject: [PATCH] fix curl grep str --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8836432..6bcb7aa6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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