File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ko_fi : " pkgstore"
2+ liberapay : " pkgstore"
3+ patreon : " pkgstore"
Original file line number Diff line number Diff line change 1+ name : " Git Repo Mirror"
2+
3+ on :
4+ - push
5+
6+ jobs :
7+ mirror :
8+ runs-on : ubuntu-latest
9+ name : " Mirror"
10+ steps :
11+ - uses : pkgstore/github-actions-sync@main
12+ with :
13+ source : " https://github.com/${{ github.repository }}"
14+ target : " ${{ secrets.GITLAB_SYNC_URL }}/${{ github.repository }}"
15+ username : " ${{ secrets.GITLAB_SYNC_USER_NAME }}"
16+ token : " ${{ secrets.GITLAB_SYNC_USER_TOKEN }}"
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ TOKEN="${4}"
77
88git clone --mirror " ${SOURCE} " ' /root/git/source' && cd ' /root/git/source' || exit
99git remote add ' target' https://" ${USERNAME} " :" ${TOKEN} " @" ${TARGET# https:// } "
10- git push --mirror ' target'
10+ git push -f - -mirror ' target'
1111
1212exit 0
You can’t perform that action at this time.
0 commit comments