From bc0964f0362b0d7113fe38af8cf935c6e8f9df47 Mon Sep 17 00:00:00 2001 From: Leandro Echevarria Date: Mon, 11 Aug 2025 15:00:33 -0300 Subject: [PATCH] docs | LAY-881 Removed github action. Updated SUMMARY.md to test integration --- .github/workflows/sync-docs.yaml | 51 -------------------------------- docs/SUMMARY.md | 2 +- 2 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 .github/workflows/sync-docs.yaml diff --git a/.github/workflows/sync-docs.yaml b/.github/workflows/sync-docs.yaml deleted file mode 100644 index 3903c37..0000000 --- a/.github/workflows/sync-docs.yaml +++ /dev/null @@ -1,51 +0,0 @@ -name: Sync Docs to GitBook - -on: - push: - branches: [main] - paths: ["docs/**"] - workflow_dispatch: - inputs: - branch: - description: 'Branch to sync from' - required: false - default: 'main' - type: string - reason: - description: 'Reason for manual sync' - required: false - default: 'Manual testing' - type: string - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }} - - - name: Display trigger information - run: | - if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then - echo "🔧 Manual sync triggered" - echo "Branch: ${{ github.event.inputs.branch || 'main' }}" - echo "Reason: ${{ github.event.inputs.reason }}" - else - echo "🚀 Automatic sync triggered by push to main" - echo "Branch: main" - fi - echo "Syncing docs from: docs/" - - - name: Sync to GitBook - uses: gitbook/gitbook-sync@v1 - with: - gitbook-token: ${{ secrets.GITBOOK_TOKEN }} - gitbook-space: ${{ secrets.GITBOOK_SPACE_ID }} - source-dir: docs/ - - - name: Sync completed - run: | - echo "✅ Documentation sync completed successfully" - echo "📚 GitBook space: ${{ secrets.GITBOOK_SPACE_ID }}" diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 40e99b3..d64af0c 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -1,4 +1,4 @@ -# Table of Contents +# Table of Contents - Atlas Python SDK * [Introduction](README.md)