Skip to content

Commit

Permalink
Orama Sync Github Actions (solidjs#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 authored Apr 8, 2024
1 parent 3dbda57 commit d1c594e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/orama_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sync Orama

on:
push:
branches:
- main
paths:
- "**.mdx"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts
cache: pnpm
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm i
- name: Sync Orama
run: pnpm sync:orama
env:
ORAMA_PRIVATE_API_KEY: ${{ secrets.ORAMA_PRIVATE_API_KEY }}
ORAMA_PRIVATE_INDEX_ID: ${{ secrets.ORAMA_PRIVATE_INDEX_ID }}

0 comments on commit d1c594e

Please sign in to comment.