From cb0ad08cdf5afc4be34e0eae189033de7ee851dd Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Thu, 25 Jul 2024 16:58:15 +0300 Subject: [PATCH] ci: trieve.yml --- .github/workflows/trieve.yml | 20 ++++++++++++++++++++ docs/.trieve.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .github/workflows/trieve.yml create mode 100644 docs/.trieve.yml diff --git a/.github/workflows/trieve.yml b/.github/workflows/trieve.yml new file mode 100644 index 0000000..c9cff32 --- /dev/null +++ b/.github/workflows/trieve.yml @@ -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" diff --git a/docs/.trieve.yml b/docs/.trieve.yml new file mode 100644 index 0000000..076db7d --- /dev/null +++ b/docs/.trieve.yml @@ -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"]