Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FotieMConstant authored Sep 22, 2024
1 parent cad63af commit 9b84a25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
generate-and-deploy:
needs: install
runs-on: ubuntu-latest
env:
LANA_OPENAI_API_KEY: ${{ secrets.LANA_OPENAI_API_KEY }}
LANA_MODEL: ${{ secrets.LANA_MODEL }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -33,9 +36,6 @@ jobs:
lanadoc config --set LANA_OPENAI_API_KEY=$LANA_OPENAI_API_KEY
lanadoc config --set LANA_MODEL=$LANA_MODEL
lanadoc generate
env:
LANA_OPENAI_API_KEY: ${{ secrets.LANA_OPENAI_API_KEY }}
LANA_MODEL: ${{ secrets.LANA_MODEL }}
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'

- name: Validate openapi specification
Expand Down

0 comments on commit 9b84a25

Please sign in to comment.