File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 55 rules:
66 - !reference [.syncho-github-ans, rules]
77 variables:
8- GITHUB_TOKEN: #add to gitlab variables when fix
98 GITHUB_URL: github.com/ansforge/DesignSystem.git
109 script:
10+ - apk add git
1111 - git config --global user.name "${GITLAB_USER_NAME}"
1212 - git config --global user.email "${GITLAB_USER_EMAIL}"
13- - git checkout -b temp-branch
13+ - git checkout -B temp-branch
1414 - git rm -r --cached .
1515 - git add .gitignore
1616 - git add *
1717 - git commit -m "Synchro Klee ANS"
18- - git remote add github-ans https://root:$GITHUB_TOKEN@$GITHUB_URL
19- - git pull github-ans main-klee
18+ - git remote set-url github-ans https://root:$GITHUB_TOKEN@$GITHUB_URL
19+ - git pull --rebase github-ans main-klee
2020 - git push github-ans temp-branch:main-klee
2121 - git checkout synchro-github-ans
22- - git branch -D temp-branch
22+ - git branch -D temp-branch
23+ - git remote rm github-ans
You can’t perform that action at this time.
0 commit comments