From 78c08721e37c48e3306d111b43399b0315c0628b Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Mon, 25 Sep 2023 15:21:38 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20push-=D0=B7=D0=B5=D1=80=D0=BA=D0=B0=D0=BB=D0=BE=20(Git?= =?UTF-8?q?Flic)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/mirror.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..8693881 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,21 @@ +name: 'Синхронизация зеркал' + +on: + push: + branches: + - main + workflow_dispatch: + schedule: + - cron: "0 */6 * * *" + +jobs: + mirror: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1 + with: + target_repo_url: "git@gitflic.ru:shizand/statapp.git" + ssh_private_key: ${{ secrets.GITFLIC_SSH }} \ No newline at end of file