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 d058a39 commit aac7d79
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ jobs:
node-version: lts/*

- name: Create dot env
run: "echo OPENAI_API_KEY=${{ vars.OPENAI_API_KEY }} > .env"
run: |
"echo OPENAI_API_KEY=${{ vars.OPENAI_API_KEY }} > .env"
"echo SUPABASE_URL=${{ vars.SUPABASE_URL }} >> .env"
"echo SUPABASE_KEY=${{ vars.SUPABASE_KEY }} >> .env"
"echo SUPABASE_USER=${{ vars.SUPABASE_USER }} >> .env"
"echo SUPABASE_PASS=${{ vars.SUPABASE_PASS }} >> .env"
# "echo SUPABASE_KEY=${{ vars.SUPABASE_KEY }} >> .env"
- name: Echo dot env file
run: echo "$(<.env )"
Expand All @@ -63,6 +69,9 @@ jobs:
- name: Install step
run: "deno install"

- name: List all files
run: "ls -la"

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
Expand Down

0 comments on commit aac7d79

Please sign in to comment.