From 741feba8d4bcaa6f791a389ccbdae10929538c3a Mon Sep 17 00:00:00 2001 From: "Michael G. Khmelnitsky" Date: Thu, 7 Dec 2023 18:47:57 -0800 Subject: [PATCH] Restoring files changed experimentally. --- .github/workflows/prod.yml | 10 ---------- .github/workflows/test.yml | 10 ---------- docker/build/Dockerfile | 4 ---- 3 files changed, 24 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 437c1fe10..9124ccc9f 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -29,13 +29,3 @@ jobs: - name: Build site # `prod` is the name of the output directory run: JEKYLL_ENV=preview LC_ALL=C.UTF-8 bundle exec jekyll build -d prod - # Append API Key to .env file - - name: Append API Key to .env - run: echo "API_KEY=${{ secrets.API_KEY }}" >> .env - # Run the vectara/vectara-answer Docker container - - name: Run Vectara Answer Docker container - run: | - docker run -v $PWD/queries.json:/build/queries.json \ - -v $PWD/.env:/.env \ - vectara/vectara-answer \ - /bin/bash -c "node server/index.js" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24de0ff6e..e23072049 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,13 +29,3 @@ jobs: - name: Build feature branch # `prod` is the name of the output directory run: JEKYLL_ENV=preview LC_ALL=C.UTF-8 bundle exec jekyll build -d test - # Append API Key to .env file - - name: Append API Key to .env - run: echo "API_KEY=${{ secrets.API_KEY }}" >> .env - # Run the vectara/vectara-answer Docker container - - name: Run Vectara Answer Docker container - run: | - docker run -v $PWD/queries.json:/build/queries.json \ - -v $PWD/.env:/.env \ - vectara/vectara-answer \ - /bin/bash -c "node server/index.js" diff --git a/docker/build/Dockerfile b/docker/build/Dockerfile index 33bbb25ea..2eb40499c 100644 --- a/docker/build/Dockerfile +++ b/docker/build/Dockerfile @@ -1,7 +1,3 @@ -ARG API_KEY - -ENV API_KEY=${API_KEY} - FROM ruby:2.7.6 WORKDIR /tmp