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 f853ffe commit 79a5f85Copy full SHA for 79a5f85
.github/workflows/codeberg-mirror.yml
@@ -0,0 +1,22 @@
1
+# Sync repo to the Codeberg mirror
2
+name: Repo sync (GitHub -> Codeberg)
3
+on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+ workflow_dispatch: # Manual dispatch
8
+
9
+jobs:
10
+ sync-repo-to-codeberg:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: "Checkout"
14
+ uses: actions/checkout@v2
15
+ with:
16
+ fetch-depth: 0
17
+ - name: "Sync repo"
18
+ uses: yesolutions/mirror-action@master
19
20
+ REMOTE: "https://codeberg.org/${{ github.repository }}.git"
21
+ GIT_USERNAME: ${{ github.repository_owner }}
22
+ GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}
0 commit comments