Skip to content

Commit

Permalink
ci: trieve.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Jul 25, 2024
1 parent 7a94261 commit cb0ad08
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trieve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Upload to Trieve

on:
push:
tags:
- v1.3.*
- v1.4.*
- v1.5.*
branches:
- master
workflow_dispatch:

jobs:
uptrieve:
uses: anycable/github-actions/.github/workflows/uptrieve.yml@master
secrets:
api_key: ${{ secrets.TRIEVE_API_KEY }}
dataset: ${{ secrets.TRIEVE_DATASET }}
with:
latest_version: "v1.5"
29 changes: 29 additions & 0 deletions docs/.trieve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ignore:
- "**/*/Readme.md"
hostname: https://docs.anycable.io
url_prefix: <%= ENV.fetch("VERSION_PREFIX", "edge") %>

groups:
- name: Deployment
tracking_id: deployment

defaults:
tags:
- docs
- <%= ENV.fetch("VERSION_TAG", "edge") %>

pages:
- "./getting_started.md"
- source: "./pro.md"
groups: ["pro"]
- "./release_notes.md"
- source: "./troubleshooting.md"
weight: 3
- "./upgrade-notes/*.md"
- "./benchmarks.md"
- "./misc/*.md"
- source: "./pro/*.md"
groups: ["pro"]
- "./guides/*.md"
- source: "./deployment/*.md"
groups: ["deployment"]

0 comments on commit cb0ad08

Please sign in to comment.