From e1991e60a721923d4ad70cbda0de35cc45f4a488 Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Wed, 17 Nov 2021 18:04:33 +0100
Subject: [PATCH] bugfix sync

---
 .github/workflows/repo_sync_ebrains.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/repo_sync_ebrains.yml b/.github/workflows/repo_sync_ebrains.yml
index 76655fe25..22bb42113 100644
--- a/.github/workflows/repo_sync_ebrains.yml
+++ b/.github/workflows/repo_sync_ebrains.yml
@@ -5,6 +5,7 @@ on:
     branches:
       - master
       - staging
+      - sync_debug
 
 jobs:
   sync:
@@ -13,9 +14,9 @@ jobs:
     - uses: actions/checkout@v2
     - uses: wei/git-sync@v3
       with:
-        source_repo: ${{ env.GITHUB_REPOSITORY }}
-        source_branch: ${{ env.GITHUB_REF_NAME }}
+        source_repo: ${GITHUB_REPOSITORY}
+        source_branch: ${GITHUB_REF_NAME}
         destination_repo: ${{ secrets.GITLAB_MIRROR_EBRAINS_DEST }}
-        destination_branch: ${{ env.GITHUB_REF_NAME }}
+        destination_branch: ${GITHUB_REF_NAME}
         destination_ssh_private_key: ${{ secrets.GITLAB_MIRROR_EBRAINS_SSH }}
 
-- 
GitLab