Skip to content

docs: update liarajson & nextjs pages #242

docs: update liarajson & nextjs pages

docs: update liarajson & nextjs pages #242

Workflow file for this run

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: 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