From eae84bcb3ff988879d9e1ded0a299db04a9be3be Mon Sep 17 00:00:00 2001 From: "Sherif A. Nada" Date: Mon, 8 Nov 2021 12:05:35 -0800 Subject: [PATCH] Attempt to autosync master with docs branch (#7753) --- .github/workflows/sync-branches | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/sync-branches 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 }}