mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2024-10-01 01:25:56 -04:00
31 lines
874 B
YAML
31 lines
874 B
YAML
name: Push to Mirrors
|
|
|
|
on: [ push, delete, create ]
|
|
|
|
# Ensures that only one mirror task will run at a time.
|
|
concurrency:
|
|
group: git-mirror
|
|
|
|
jobs:
|
|
gitlab:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Official GitLab Mirror
|
|
uses: wearerequired/git-mirror-action@v1
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ SSH_PRIVATE_KEY }}
|
|
with:
|
|
source-repo: "git@github.com:Anon-Planet/thgtoa.git"
|
|
destination-repo: "git@gitlab.com:anonymousplanetorg/thgtoa.git"
|
|
|
|
codeberg:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Official Codeberg Mirror
|
|
uses: wearerequired/git-mirror-action@v1
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ SSH_PRIVATE_KEY }}
|
|
with:
|
|
source-repo: "git@github.com:Anon-Planet/thgtoa.git"
|
|
destination-repo: "git@codeberg.org:anonypla/thgtoa.git"
|