Merge pull request #63 from opper-ai/joch/add-tags #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Index Docs in Opper | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
index-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Index docs in Opper | |
uses: opper-ai/[email protected] | |
with: | |
folder: '.' | |
apikey: ${{ secrets.OPPER_API_KEY_CHATBOT }} | |
index: 'opper-docs' | |
index-examples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Index docs in Opper | |
uses: opper-ai/[email protected] | |
with: | |
folder: './examples' | |
apikey: ${{ secrets.OPPER_API_KEY_CHATBOT }} | |
index: 'opper-docs' | |
file_types: '.ts' |