diff --git a/.github/workflows/sync-branches b/.github/workflows/sync-branches new file mode 100644 index 000000000000..65aad5bc4f57 --- /dev/null +++ b/.github/workflows/sync-branches @@ -0,0 +1,20 @@ +name: Sync Docs Branch +on: + push: + branches: + - master + +jobs: + repo-sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + persist-credentials: false + - name: repo-sync + uses: repo-sync/github-sync@v2 + with: + source_repo: "airbytehq/airbyte" + source_branch: "master" + destination_branch: "gitbook/v1" + github_token: ${{ secrets.SLASH_COMMAND_PAT }}