ci: build the cli in concurrent to the docker images #330
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backend Doc Change | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-doc-change: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyyaml | |
- name: Run sync-dest-doc.py in docs directory | |
run: | | |
cd docs | |
python sync-dest-doc.py | |
- name: Check for changes in docs-backends | |
run: | | |
git diff --exit-code docs/backends || ( | |
echo "Changes detected in docs/backends directory. You should update run cd docs ; python sync-dest-doc.py and commit the changes."; | |
git diff docs/backends; | |
exit 1; | |
) |