From 8bb149aa3e663b68a9c56608b5de1ed1e2668329 Mon Sep 17 00:00:00 2001 From: Lionello Lunesu Date: Mon, 24 Jun 2024 18:29:10 -0700 Subject: [PATCH] set config in CI --- samples/golang-openai/.github/workflows/deploy.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/samples/golang-openai/.github/workflows/deploy.yaml b/samples/golang-openai/.github/workflows/deploy.yaml index cbf71de2..c7254e85 100644 --- a/samples/golang-openai/.github/workflows/deploy.yaml +++ b/samples/golang-openai/.github/workflows/deploy.yaml @@ -27,5 +27,10 @@ jobs: - name: Login to Defang run: defang login + - name: Set config + run: echo $OPENAI_KEY | defang config set --name OPENAI_KEY + env: + OPENAI_KEY: ${{ secrets.OPENAI_KEY }} + - name: Deploy - run: defang compose up -v --detach \ No newline at end of file + run: defang compose up -v --detach