From e68f6aaa76b5a38f1fd22e5b0fd0af5c7b6bf8eb Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 28 Jul 2020 00:53:50 -0400 Subject: [PATCH] check for login page in github ci --- .github/workflows/test.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de5c11e0..1b05fa5a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -112,4 +112,4 @@ jobs: - name: Curl to Django app run: | sleep 10 - curl -IL http://127.0.0.1:8000/ + curl --silent --location 'http://127.0.0.1:8000' | grep 'https://github.com/pirate/ArchiveBox/wiki' diff --git a/Dockerfile b/Dockerfile index 197844ae..97bd1bd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,7 @@ RUN groupadd --system archivebox \ ADD . "$CODE_PATH" WORKDIR "$CODE_PATH" -ENV PATH="$VENV_PATH/bin:${PATH}" +ENV PATH="${PATH}:$VENV_PATH/bin" RUN python -m venv --clear --symlinks "$VENV_PATH" \ && pip install --upgrade pip setuptools \ && pip install -e .