mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2025-01-23 13:11:08 -05:00
Merge pull request #267 ("Update workflow for mirroring")
Update workflow for mirroring. Force Merge.
This commit is contained in:
commit
12c89cc30e
30
.github/workflows/mirror.yml
vendored
Normal file
30
.github/workflows/mirror.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
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: ${{ secrets.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: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
with:
|
||||
source-repo: "git@github.com:Anon-Planet/thgtoa.git"
|
||||
destination-repo: "git@codeberg.org:anonypla/thgtoa.git"
|
Loading…
Reference in New Issue
Block a user