Skip to content

Commit

Permalink
Restoring files changed experimentally.
Browse files Browse the repository at this point in the history
  • Loading branch information
mig281 committed Dec 8, 2023
1 parent 4308a41 commit 741feba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
10 changes: 0 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 0 additions & 4 deletions docker/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
ARG API_KEY

ENV API_KEY=${API_KEY}

FROM ruby:2.7.6

WORKDIR /tmp
Expand Down

0 comments on commit 741feba

Please sign in to comment.