We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a587c commit 5d68266Copy full SHA for 5d68266
.github/workflows/codeberg-mirror.yml
@@ -0,0 +1,19 @@
1
+# Sync repo to the Codeberg mirror
2
+name: Mirror Sync
3
+on:
4
+ push:
5
+ branches: ["main","master"]
6
+ workflow_dispatch: # Manual dispatch
7
+ schedule:
8
+ - cron: "0 */6 * * *"
9
+jobs:
10
+ codeberg:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0
16
+ - uses: pixta-dev/repository-mirroring-action@v1
17
18
+ target_repo_url: 'git@codeberg.org:${{ github.repository }}.git'
19
+ ssh_private_key: ${{ secrets.CODEBERG_SSH }}
0 commit comments