Skip to content

Commit

Permalink
Create codeberg-mirror.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KrstlSkll69 authored Jan 1, 2025
1 parent f66c9b9 commit c8248d5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/codeberg-mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Sync to Codeberg
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
push:
workflow_dispatch:
schedule:
- cron: "0 */6 * * *"

jobs:
codeberg:
name: Sync Codeberg and Github
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
with:
target_repo_url: "[email protected]:KrstlSkll69/vc-snippets.git"
ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}

0 comments on commit c8248d5

Please sign in to comment.