mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-23 02:42:35 +01:00
c6b7724beb
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
23 lines
655 B
YAML
23 lines
655 B
YAML
# Sync repo to the Codeberg mirror
|
|
name: Mirror Sync
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
workflow_dispatch: # Manual dispatch
|
|
schedule:
|
|
- cron: "0 */8 * * *"
|
|
|
|
jobs:
|
|
codeberg:
|
|
if: "github.repository == 'keiyoushi/extensions-source'"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
|
with:
|
|
target_repo_url: "git@codeberg.org:keiyoushi/extensions-source.git"
|
|
ssh_private_key: ${{ secrets.CODEBERG_SSH }}
|