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 c6e314f commit 2b72e44
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ jobs:
cd docs-beta
npm install
# - name: Generate documentation
# env:
# OPENAI_API_KEY: ${{ secrets.LANA_OPENAI_API_KEY }}
# MODEL: ${{ secrets.LANA_MODEL }}
# run: |
# cd docs-beta
# npm install -g yargs
# npm install -g lanadoc-cli
# lanadoc config --set LANA_OPENAI_API_KEY=$OPENAI_API_KEY
# lanadoc config --set LANA_MODEL=$MODEL
# lanadoc generate
# if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'
- name: Generate documentation
env:
OPENAI_API_KEY: ${{ secrets.LANA_OPENAI_API_KEY }}
MODEL: ${{ secrets.LANA_MODEL }}
run: |
cd docs-beta
npm install -g yargs
npm install -g lanadoc-cli
lanadoc config --set LANA_OPENAI_API_KEY=$OPENAI_API_KEY
lanadoc config --set LANA_MODEL=$MODEL
lanadoc generate
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'

- name: Build Vue.js application
run: |
Expand Down

0 comments on commit 2b72e44

Please sign in to comment.