Skip to content

Commit

Permalink
Refactor: env file
Browse files Browse the repository at this point in the history
  • Loading branch information
thinley4 committed Oct 20, 2024
1 parent 25dfee1 commit aa4595e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v4
uses: actions/checkout@v4 # Clone the Repository

- name: Log in to Docker Hub
uses: docker/login-action@v3
Expand Down
1 change: 0 additions & 1 deletion fastapi/.env-example
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
MISTRAL_API_KEY=
collection_name=
connection=
1 change: 0 additions & 1 deletion fastapi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class Info(BaseModel):

#DB connection string and collection name

collection_name = os.getenv("collection_name")
connection = os.getenv("connection") # Uses psycopg3!

# Common variables used in both POST routes
Expand Down

0 comments on commit aa4595e

Please sign in to comment.