mirror of
https://github.com/shizand/statapp.git
synced 2025-04-01 23:23:45 +03:00
ci: добавил push-зеркало (GitFlic)
This commit is contained in:
parent
a0ae954e40
commit
78c08721e3
21
.github/workflows/mirror.yml
vendored
Normal file
21
.github/workflows/mirror.yml
vendored
Normal file
@ -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 }}
|
Loading…
Reference in New Issue
Block a user