Parallel mirroring

This commit is contained in:
Jonah Aragon 2022-09-01 22:06:38 -05:00
parent 5f970c58ac
commit 0ba070dc8e
No known key found for this signature in database

View File

@ -7,7 +7,7 @@ concurrency:
group: git-mirror group: git-mirror
jobs: jobs:
git-mirror: gitlab:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Mirror to GitLab - name: Mirror to GitLab
@ -18,10 +18,9 @@ jobs:
source-repo: "git@github.com:privacyguides/privacyguides.org.git" source-repo: "git@github.com:privacyguides/privacyguides.org.git"
destination-repo: "git@gitlab.com:privacyguides/privacyguides.org.git" destination-repo: "git@gitlab.com:privacyguides/privacyguides.org.git"
- name: Cleanup codeberg:
run: | runs-on: ubuntu-latest
sudo rm -rf privacyguides.org.git steps:
- name: Mirror to Codeberg - name: Mirror to Codeberg
uses: wearerequired/git-mirror-action@v1 uses: wearerequired/git-mirror-action@v1
env: env:
@ -30,10 +29,9 @@ jobs:
source-repo: "git@github.com:privacyguides/privacyguides.org.git" source-repo: "git@github.com:privacyguides/privacyguides.org.git"
destination-repo: "git@codeberg.org:privacyguides/privacyguides.org.git" destination-repo: "git@codeberg.org:privacyguides/privacyguides.org.git"
- name: Cleanup sourcehut:
run: | runs-on: ubuntu-latest
sudo rm -rf privacyguides.org.git steps:
- name: Mirror to SourceHut - name: Mirror to SourceHut
uses: wearerequired/git-mirror-action@v1 uses: wearerequired/git-mirror-action@v1
env: env: