feat: add llms.txt to the docs #461
This file contains hidden or 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: Deploy to Production | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: convert-mdx-to-md | |
working-directory: ./mdx-to-md-converter | |
run: | | |
npm install | |
npm run convert | |
- name: update-liara | |
env: | |
LIARA_TOKEN: ${{ secrets.IRAN_API_TOKEN }} | |
run: | | |
npm i -g @liara/cli@7 | |
liara deploy --app="g2-the-docs" --api-token="$LIARA_TOKEN" --platform=docker --port=80 --no-app-logs | |
- name: Sleep for 60 seconds | |
run: sleep 60 | |
shell: bash | |
- name: search-liara | |
working-directory: ./indexer | |
env: | |
MEILI_PRIVATE_KEY: ${{ secrets.MEILI_PRIVATE_KEY }} | |
MEILI_ROOT_URL: ${{ secrets.MEILI_ROOT_URL }} | |
run: | | |
npm i | |
npm run start |