mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-09-01 02:21:52 +02:00
fix curl grep str
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user