Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78c47ab

Browse files
Create sync_repo_github-codeberg.yml
1 parent e533eb8 commit 78c47ab

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
22+
REMOTE: 'https://codeberg.org/movingpandas/movingpandas-examples.git'
23+
GIT_USERNAME: anitagraser
24+
GIT_PASSWORD: ${{ secrets._CODEBERG_TOKEN }}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /