Skip to content

Commit 8bb149a

Browse files
committed
set config in CI
1 parent 9ba76a4 commit 8bb149a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

samples/golang-openai/.github/workflows/deploy.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,10 @@ jobs:
2727
- name: Login to Defang
2828
run: defang login
2929

30+
- name: Set config
31+
run: echo $OPENAI_KEY | defang config set --name OPENAI_KEY
32+
env:
33+
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
34+
3035
- name: Deploy
31-
run: defang compose up -v --detach
36+
run: defang compose up -v --detach

0 commit comments

Comments
 (0)