mirror of
https://github.com/syncthing/syncthing.git
synced 2026-05-31 12:24:57 -04:00
22 lines
550 B
YAML
22 lines
550 B
YAML
name: Mirrors
|
|
|
|
on: [push, delete]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
codeberg:
|
|
name: Mirror to Codeberg
|
|
if: github.repository_owner == 'syncthing'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: yesolutions/mirror-action@662fce0eced8996f64d7fa264d76cddd84827f33 # master
|
|
with:
|
|
REMOTE: ssh://git@codeberg.org/${{ github.repository }}.git
|
|
GIT_SSH_PRIVATE_KEY: ${{ secrets.CODEBERG_PUSH_KEY }}
|
|
GIT_SSH_NO_VERIFY_HOST: "true"
|