mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-01-12 03:10:08 +00:00
The git-mirror-me-action handles the cloning of the source. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
23 lines
596 B
YAML
23 lines
596 B
YAML
# SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com>
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: Mirrors
|
|
|
|
on: [ push, delete, create ]
|
|
|
|
concurrency:
|
|
group: git-mirror-me
|
|
|
|
jobs:
|
|
yocto-mirror:
|
|
name: Yocto Git Mirror
|
|
runs-on: [self-hosted, Linux]
|
|
steps:
|
|
- uses: agherzan/git-mirror-me-action@main
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_PRIVATE_KEY }}
|
|
SSH_KNOWN_HOSTS: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_KNOWN_HOSTS }}
|
|
with:
|
|
destination-repository: "git@push.yoctoproject.org:meta-raspberrypi"
|