mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-05 03:28:09 +00:00
38 lines
869 B
YAML
38 lines
869 B
YAML
name: Testing Haystack-Readme integration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
# release branches have the form v1.9.x
|
|
- 'v[0-9].*[0-9].x'
|
|
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout this repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python 3.8.10
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8.10
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pydoc-markdown==4.5.1
|
|
|
|
- name: Generate API docs
|
|
run: ./.github/utils/pydoc-markdown.sh
|
|
|
|
- name: Github Action (API sync)
|
|
uses: readmeio/rdme@7.2.0
|
|
env:
|
|
README_API_KEY: ${{ secrets.README_API_KEY }}
|
|
with:
|
|
rdme: docs ./docs/_src/api/api/temp --key="$README_API_KEY" --version=1.10-unstable
|