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 2f67618 commit c05f460
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 @@ -26,6 +26,9 @@ jobs:
uses: actions/checkout@v2

- name: Generate documentation
env:
OPENAI_API_KEY: ${{ secrets.LANA_OPENAI_API_KEY }}
MODEL: ${{ secrets.LANA_MODEL }}
run: |
cd docs-beta
npm install -g yargs
Expand All @@ -36,9 +39,6 @@ jobs:
lanadoc config --set LANA_MODEL=$MODEL
lanadoc generate
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'
env:
OPENAI_API_KEY: ${{ secrets.LANA_OPENAI_API_KEY }}
MODEL: ${{ secrets.LANA_MODEL }}

- name: Validate openapi specification
run: echo "lanadoc validate"
Expand Down

0 comments on commit c05f460

Please sign in to comment.