Skip to content

Commit

Permalink
Update sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Adityasinh-Sodha authored Dec 31, 2024
1 parent 65d69ad commit d991618
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
with:
fetch-depth: 0

- name: Set Git Config (User Identity)
run: |
git config --global user.email "Work.adityasodha@gmail.com"
git config --global user.name "Adityasinh-Sodha"
- name: Unshallow Clone (if needed)
run: |
if [ -f .git/shallow ]; then
Expand All @@ -27,7 +32,7 @@ jobs:
env:
GITLAB_TOKEN: ${{ secrets.GITLAB }}
run: |
git remote add gitlab https://Adityasinh-Sodha:$GITLAB_TOKEN@gitlab.com/Adityasinh-Sodha/Face-Recognition-System.git
git remote add gitlab https://Adityasinh-Sodha:$GITLAB_TOKEN@gitlab.com/Adityasinh-Sodha/MaxEdit.git
git fetch gitlab main
git rebase --strategy=recursive --strategy-option=theirs gitlab/main || git rebase --skip
Expand Down

0 comments on commit d991618

Please sign in to comment.