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 4168ee1 commit cad63af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ jobs:
cd docs-beta
npm install -g yargs
npm install -g lanadoc-cli
LANA_OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} \
LANA_MODEL=${{ secrets.LANA_MODEL }} \
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 cad63af

Please sign in to comment.