From b5e89f461e1b29a74e5b59d030369445faabed4c Mon Sep 17 00:00:00 2001 From: Laurent Senta Date: Mon, 29 Nov 2021 18:17:02 +0100 Subject: [PATCH] feat: git sync (#754) Co-authored-by: Mo Bitar --- .github/workflows/git-sync.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/git-sync.yml diff --git a/.github/workflows/git-sync.yml b/.github/workflows/git-sync.yml new file mode 100644 index 000000000..bf427817b --- /dev/null +++ b/.github/workflows/git-sync.yml @@ -0,0 +1,13 @@ +on: push +jobs: + git-sync: + runs-on: ubuntu-latest + steps: + - name: git-sync + uses: wei/git-sync@v3 + with: + source_repo: "standardnotes/web" + source_branch: "refs/remotes/source/*" + destination_repo: "standardnotes/private-web" + destination_branch: "refs/heads/*" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}