increase ci step delays

This commit is contained in:
Nick Sweeting 2020-07-28 08:14:50 -04:00
parent ab1dac50f6
commit e671ddd22b
2 changed files with 7 additions and 5 deletions

View file

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

View file

@ -12,8 +12,8 @@ version: '3.7'
services:
archivebox:
build: .
image: archivebox:latest
# build: .
image: nikisweeting/archivebox:latest
command: server 0.0.0.0:8000
stdin_open: true
tty: true