check sync action
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -14,8 +14,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.email "vtolstov <vtolstov@users.noreply.github.com>"
|
git config --global user.email "vtolstov <vtolstov@users.noreply.github.com>"
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
echo "machine git.unistack.org login vtolstov password ${TOKEN_GITEA}" | tee -a /root/.netrc
|
echo "machine git.unistack.org login vtolstov password ${{ secrets.TOKEN_GITEA }}" | tee -a /root/.netrc
|
||||||
echo "|${TOKEN_GITEA}|"
|
|
||||||
|
|
||||||
- name: track master
|
- name: track master
|
||||||
run: |
|
run: |
|
||||||
@@ -23,7 +22,7 @@ jobs:
|
|||||||
cd repo
|
cd repo
|
||||||
git remote add --no-tags --fetch --track master upstream-master https://github.com/${GITHUB_REPOSITORY}
|
git remote add --no-tags --fetch --track master upstream-master https://github.com/${GITHUB_REPOSITORY}
|
||||||
git merge --allow-unrelated-histories "upstream-master/master"
|
git merge --allow-unrelated-histories "upstream-master/master"
|
||||||
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push --progress
|
git push --progress
|
||||||
rm -rf repo
|
rm -rf repo
|
||||||
|
|
||||||
- name: track v3
|
- name: track v3
|
||||||
|
|||||||
Reference in New Issue
Block a user