mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 14:44:18 +00:00
fix curl grep str
This commit is contained in:
parent
e671ddd22b
commit
331418ef8b
1 changed files with 5 additions and 5 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue