Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwit-y committed Nov 2, 2024
1 parent b7fe876 commit 60f1724
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
with:
node-version: lts/*

- name: Create dot env
run: |
"echo OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} > .env"
"echo SUPABASE_URL=${{ secrets.SUPABASE_URL }} >> .env"
- name: Echo dot env file
run: echo "$(<.env )"

- name: Echo openai_api_key
run: "echo openai_api_key variable : ${{vars.OPENAI_API_KEY}}"
env:
Expand All @@ -63,5 +71,6 @@ jobs:
project: "chanwit-y-dictionary-25"
entrypoint: "main.ts"
root: ""
include: ".env"


0 comments on commit 60f1724

Please sign in to comment.