We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0611cdf commit 49b2c3fCopy full SHA for 49b2c3f
.github/workflows/git-mirror.yml
@@ -12,15 +12,14 @@ on:
12
jobs:
13
mirror:
14
runs-on: ubuntu-latest
15
-
16
steps:
17
- name: Checkout repository
18
uses: actions/checkout@v4
19
20
- - name: Mirror to Codeberg
21
- env:
22
- GIT_MIRROR_URL: ${{ secrets.CODEBERG_URL }}
23
- GIT_MIRROR_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
24
- run: |
25
- git remote add mirror ${GIT_MIRROR_URL}
26
- git push --mirror mirror
+ with:
+ fetch-depth: 0
+ - name: "Sync repo"
+ uses: yesolutions/mirror-action@master
+ REMOTE: ${{ secrets.CODEBERG_URL }}
+ GIT_USERNAME: goetz
+ GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}
0 commit comments