Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 1 | # SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com> |
| 2 | # |
| 3 | # SPDX-License-Identifier: MIT |
| 4 | |
| 5 | name: Mirrors |
| 6 | |
| 7 | on: [ push, delete, create ] |
| 8 | |
| 9 | concurrency: |
| 10 | group: git-mirror-me |
| 11 | |
| 12 | jobs: |
| 13 | yocto-mirror: |
| 14 | name: Yocto Git Mirror |
| 15 | runs-on: [self-hosted, Linux] |
| 16 | steps: |
| 17 | - uses: agherzan/git-mirror-me-action@v1.0.0 |
| 18 | env: |
| 19 | SSH_PRIVATE_KEY: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_PRIVATE_KEY }} |
| 20 | SSH_KNOWN_HOSTS: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_KNOWN_HOSTS }} |
| 21 | with: |
| 22 | destination-repository: "git@push.yoctoproject.org:meta-raspberrypi" |