From 52ec8b57c48e3f245c222804a2261bddbb7104ac Mon Sep 17 00:00:00 2001 From: STAM Date: Sat, 5 Apr 2025 23:00:34 +0300 Subject: [PATCH] full sync --- .github/workflows/sync-with-gitlab.yml | 40 ------------------ .github/workflows/sync-with-mirrors.yml | 55 +++++++++++++++++++++++++ README.md | 18 ++++---- profile/README.md | 20 +++++++++ 4 files changed, 85 insertions(+), 48 deletions(-) delete mode 100644 .github/workflows/sync-with-gitlab.yml create mode 100644 .github/workflows/sync-with-mirrors.yml create mode 100644 profile/README.md diff --git a/.github/workflows/sync-with-gitlab.yml b/.github/workflows/sync-with-gitlab.yml deleted file mode 100644 index 3f710cc..0000000 --- a/.github/workflows/sync-with-gitlab.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Automatic sync with GitLab's read-only mirror - -on: -# push: -# branches: -# - main - schedule: - - cron: '42 0 * * 0' - workflow_dispatch: - -jobs: - mirror: - runs-on: ubuntu-latest - - strategy: - matrix: - repo: - - {github: "https://github.com/AntinomyCollective/.github.git", gitlab: "git@gitlab.com:AntinomyCollective/dot-github.git"} - - {github: "https://github.com/AntinomyCollective/Retime-Phoneme-Util-GUI.git", gitlab: "git@gitlab.com:AntinomyCollective/Retime-Phoneme-Util-GUI.git"} - - steps: - - name: Set up SSH key - env: - SSH_PRIVATE_KEY: ${{ secrets.GITLAB_DEPLOY_KEY }} - run: | - mkdir -p ~/.ssh - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 - ssh-keyscan -t rsa,ed25519 github.com >> ~/.ssh/known_hosts - ssh-keyscan -t rsa,ed25519 gitlab.com >> ~/.ssh/known_hosts - - - name: Clone repository as mirror - run: | - git clone --mirror ${{ matrix.repo.github }} repo-mirror - - - name: Push to GitLab - run: | - cd repo-mirror - git remote set-url origin ${{ matrix.repo.gitlab }} - git push --mirror diff --git a/.github/workflows/sync-with-mirrors.yml b/.github/workflows/sync-with-mirrors.yml new file mode 100644 index 0000000..c44079a --- /dev/null +++ b/.github/workflows/sync-with-mirrors.yml @@ -0,0 +1,55 @@ +name: Automatic sync with read-only mirrors + +on: +# push: +# branches: +# - main + schedule: + - cron: '42 0 * * 0' + workflow_dispatch: + +jobs: + mirror: + runs-on: ubuntu-latest + + strategy: + matrix: + repo: +# - {github: "", bitbucket: "", codeberg: "", gitlab: "" } + - {github: "https://github.com/AntinomyCollective/.github.git", bitbucket: "git@bitbucket.org:antinomycollective/.github.git", codeberg: "git@codeberg.org:AntinomyCollective/.github.git", gitlab: "git@gitlab.com:AntinomyCollective/dot-github.git"} + - {github: "https://github.com/AntinomyCollective/Retime-Phoneme-Util-GUI.git", bitbucket: "git@bitbucket.org:antinomycollective/retime-phoneme-util-gui.git", codeberg: "git@codeberg.org:AntinomyCollective/Retime-Phoneme-Util-GUI.git", gitlab: "git@gitlab.com:AntinomyCollective/Retime-Phoneme-Util-GUI.git"} + + steps: + - name: Set up SSH key + env: + SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_KEY }} + run: | + mkdir -p ~/.ssh + echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + ssh-keyscan -t rsa,ed25519 bitbucket.org >> ~/.ssh/known_hosts + ssh-keyscan -t rsa,ed25519 codeberg.org >> ~/.ssh/known_hosts + ssh-keyscan -t rsa,ed25519 github.com >> ~/.ssh/known_hosts + ssh-keyscan -t rsa,ed25519 gitlab.com >> ~/.ssh/known_hosts + + - name: Clone repository as mirror + run: | + git clone --mirror ${{ matrix.repo.github }} repo-mirror + + - name: Push to BitBucket + run: | + cd repo-mirror + git remote set-url origin ${{ matrix.repo.bitbucket }} + git push --mirror --force + + - name: Push to CodeBerg + run: | + cd repo-mirror + git remote set-url origin ${{ matrix.repo.codeberg }} + git push --mirror --force + + - name: Push to GitLab + run: | + cd repo-mirror + git remote set-url origin ${{ matrix.repo.gitlab }} + git push --mirror --force diff --git a/README.md b/README.md index 33af3af..d0d73f6 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,16 @@ ## Kayf-Life -[![Website](https://img.shields.io/website-up-down-green-red/https/kayf-life.ru.svg?label=Website&style=flat-square)](https://kayf-life.ru/) -[![ReleaseBuild](https://img.shields.io/teamcity/https/ci.zapekan.us/e/Public_AntinomyColletcive_KayfLife_Release.svg?style=flat-square&label=Release%20Build)](https://kayf-life.ru/downloads) -[![NightlyBuild](https://img.shields.io/teamcity/https/ci.zapekan.us/e/Public_AntinomyColletcive_KayfLife_Nightly.svg?style=flat-square&label=Development%20Build)](https://github.com/AntinomyCollective/projects) -[![Date](https://img.shields.io/badge/Release%20date-2019%20Q1-blue.svg?style=flat-square)](https://github.com/AntinomyCollective/projects) +[![Website](https://img.shields.io/website-up-down-green-red/https/kayf-life.ru.svg?label=Website&style=flat-square)](https://kayf.life) +[![Date](https://img.shields.io/badge/Release%20date-2019%20Q1-blue.svg?style=flat-square)](https://kayf.life/) ## Argentum Core -[![Website](https://img.shields.io/website-up-down-green-red/https/argentumcore.ru.svg?label=Website&style=flat-square)](https://argentumcore.ru/) -[![ReleaseBuild](https://img.shields.io/teamcity/https/ci.zapekan.us/e/Public_AntinomyColletcive_ArgenrumCore_Release.svg?style=flat-square&label=Release%20Build)](https://argentumcore.ru/downloads) -[![NightlyBuild](https://img.shields.io/teamcity/https/ci.zapekan.us/e/Public_AntinomyColletcive_ArgenrumCore_Nighlty.svg?style=flat-square&label=Development%20Build)](https://github.com/AntinomyCollective/projects) -[![Date](https://img.shields.io/badge/Release%20date-TBA-red.svg?style=flat-square)](https://github.com/AntinomyCollective/projects) +[![Website](https://img.shields.io/website-up-down-green-red/https/antinomy-collective.org.svg?label=Website&style=flat-square)](https://antinomy-collective.org/) +[![Date](https://img.shields.io/badge/Release%20date-TBA-red.svg?style=flat-square)](https://antinomy-collective.org/) + +## Mirrors: +- https://github.com/AntinomyCollective +- https://gitlab.com/antinomycollective +- https://codeberg.org/AntinomyCollective +- https://bitbucket.org/AntinomyCollective \ No newline at end of file diff --git a/profile/README.md b/profile/README.md new file mode 100644 index 0000000..d0d73f6 --- /dev/null +++ b/profile/README.md @@ -0,0 +1,20 @@ +# Projects by Antinomy Collective +[![Website](https://img.shields.io/website-up-down-green-red/https/antinomy-collective.org.svg?label=Website&style=flat-square)](https://antinomy-collective.org/) +[![VK](https://img.shields.io/badge/Contact-VK-blue.svg?style=flat-square)](https://vk.com/antinomy_collective) + + +## Kayf-Life + +[![Website](https://img.shields.io/website-up-down-green-red/https/kayf-life.ru.svg?label=Website&style=flat-square)](https://kayf.life) +[![Date](https://img.shields.io/badge/Release%20date-2019%20Q1-blue.svg?style=flat-square)](https://kayf.life/) + +## Argentum Core + +[![Website](https://img.shields.io/website-up-down-green-red/https/antinomy-collective.org.svg?label=Website&style=flat-square)](https://antinomy-collective.org/) +[![Date](https://img.shields.io/badge/Release%20date-TBA-red.svg?style=flat-square)](https://antinomy-collective.org/) + +## Mirrors: +- https://github.com/AntinomyCollective +- https://gitlab.com/antinomycollective +- https://codeberg.org/AntinomyCollective +- https://bitbucket.org/AntinomyCollective \ No newline at end of file