Skip to content

feat: add procedure to build destination yamls automatically #4

feat: add procedure to build destination yamls automatically

feat: add procedure to build destination yamls automatically #4

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: Run sync-dest-doc.py in docs directory
run: |
cd docs
python sync-dest-doc.py
- name: Check for changes in destinations
run: |
git diff --exit-code destinations || (
echo "Changes detected in destinations directory. Failing the workflow.";
git diff destinations;
exit 1;
)