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 b232a8c commit 4168ee1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
cd docs-beta
npm install -g yargs
npm install -g lanadoc-cli
lanadoc config --set LANA_OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
lanadoc config --set LANA_MODEL=${{ secrets.LANA_MODEL }}
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
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'

Expand Down

0 comments on commit 4168ee1

Please sign in to comment.