From 13e82f81cfdf74aa22be41ead34033ca4871c54a Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 1 Nov 2024 20:16:59 -0700 Subject: [PATCH] fix: make env be inside the ci job --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e24076..b752288 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,5 @@ name: Beavs AI Continuous Integration -env: - HUSKY: 0 - PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} - PINECONE_INDEX_NAME: ${{ secrets.PINECONE_INDEX_NAME }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - on: push: branches: @@ -17,6 +11,11 @@ on: jobs: ci: runs-on: ubuntu-latest + env: + HUSKY: 0 + PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} + PINECONE_INDEX_NAME: ${{ secrets.PINECONE_INDEX_NAME }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} steps: - name: Checkout code