From 1b14f6baee847a1588dbc677d5be43b98e306c6f Mon Sep 17 00:00:00 2001 From: fotiecodes <42372656+FotieMConstant@users.noreply.github.com> Date: Sun, 22 Sep 2024 15:51:46 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8406698..9b475a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,9 @@ name: Documentation Deployment +env: + LANA_OPENAI_API_KEY: ${{ vars.LANA_OPENAI_API_KEY }} + LANA_MODEL: ${{ vars.LANA_MODEL }} + on: push: branches: @@ -21,9 +25,6 @@ jobs: generate-and-deploy: needs: install runs-on: ubuntu-latest - env: - LANA_OPENAI_API_KEY: ${{ vars.LANA_OPENAI_API_KEY }} - LANA_MODEL: ${{ vars.LANA_MODEL }} steps: - name: Checkout repository uses: actions/checkout@v2