|
@@ -46,3 +46,16 @@ jobs:
|
|
|
git config --local user.name "GitHub Action"
|
|
|
git commit -m "Update version to $new_version" -a
|
|
|
git push origin master
|
|
|
+
|
|
|
+ sync-repo:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v3
|
|
|
+ with:
|
|
|
+ fetch-depth: 0
|
|
|
+ - uses: yesolutions/mirror-action@master
|
|
|
+ with:
|
|
|
+ REMOTE: 'https://git.pig4cloud.com/pig/CGTM.git'
|
|
|
+ GIT_USERNAME: lengleng
|
|
|
+ GIT_PASSWORD: ${{ secrets.GIT_GOGS_PASSWORD }}
|