Update .gitea/workflows/mirror.yml
This commit is contained in:
1 parent
344ba12f7a
commit
572c4b2bd1
1 file changed
+3
-1
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Gitea repository
|
- name: Check out Gitea repository
|
||||||
uses: actions/checkout@v4
|
uses: builtin:checkout
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -28,3 +28,5 @@ jobs:
|
|||||||
|
|
||||||
git -c http.extraheader="AUTHORIZATION: basic $AUTH" \
|
git -c http.extraheader="AUTHORIZATION: basic $AUTH" \
|
||||||
push --force github HEAD:refs/heads/main
|
push --force github HEAD:refs/heads/main
|
||||||
|
|
||||||
|
echo "Successfully synced Gitea main to GitHub main."
|
||||||
Reference in new issue
Block a user