We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e533eb8 commit 78c47abCopy full SHA for 78c47ab
.github/workflows/sync_repo_github-codeberg.yml
@@ -0,0 +1,24 @@
1
+# Sync repo to the Codeberg Forgejo mirror
2
+name: Repo sync (GitHub -> Codeberg)
3
+on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+ workflow_dispatch: # Manual dispatch
8
+ schedule:
9
+ - cron: "0 */6 * * *"
10
+
11
+jobs:
12
+ sync-repo-to-forgejo:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: "Checkout"
16
+ uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 0
19
+ - name: "Sync repo"
20
+ uses: spyoungtech/mirror-action@master
21
22
+ REMOTE: 'https://codeberg.org/movingpandas/movingpandas-examples.git'
23
+ GIT_USERNAME: anitagraser
24
+ GIT_PASSWORD: ${{ secrets._CODEBERG_TOKEN }}
0 commit comments