Skip to content

Update integration-doc-generator.yml #91

Update integration-doc-generator.yml

Update integration-doc-generator.yml #91

name: Integration Doc Generator
on:
workflow_dispatch:
inputs:
target_branch:
description: 'Branch in appsmith-docs to create PR against'
required: true
default: 'main'
type: string
jobs:
generate_docs:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout appsmith-docs repo (target branch)
- name: Checkout appsmith-docs (target branch)
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
ref: ${{ github.event.inputs.target_branch }}
fetch-depth: 0
# Step 2: Checkout integration-resources repo
- name: Checkout integration-resources repo
uses: actions/checkout@v4
with:
repository: appsmithorg/integration-resources
token: ${{ secrets.REPO_ACCESS_TOKEN }}
ref: main
path: integration-resources
fetch-depth: 20 # Ensure recent commit history is available
# Step 3: Always get latest 3 committed *_uqi_config.json files
- name: Get latest committed JSON files
id: detect-