diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index efc10ad2a9..bee68b7e39 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -1,7 +1,3 @@ -name: Build and Deploy -concurrency: build_and_deploy_${{ github.ref_name }} - -on: push: branches: - main @@ -240,7 +236,7 @@ jobs: docker compose up --no-build -d docker compose exec -T web /bin/sh -c "./wait-for-command.sh -c 'nc -z db 5432' -s 0 -t 20" docker compose exec -T web /bin/sh -c 'bundle config --local disable_exec_load true' - docker compose exec -T web /bin/sh -c 'apk add --no-cache chromium chromium-chromedriver xvfb xauth' + docker compose exec -T web /bin/sh -c 'apk add --no-cache chromium chromium-chromedriver xvfb xauth nss' docker compose exec -T web /bin/sh -c "echo 'Checking if chromedriver is installed...'; which chromium; which chromedriver; ls -l /usr/bin/chromium; ls -l /usr/bin/chromedriver; chromium --version; chromedriver --version" # Ensure that xvfb is set up to allow GUI-based apps like Chromium to run headlessly docker compose exec -T web /bin/sh -c 'Xvfb :99 -ac &'