Update workflow

Signed-off-by: Sharp-tailed Grouse <no@anonymousplanet.org>
This commit is contained in:
Than Harrison 2022-11-13 09:48:01 -05:00
parent 5a3522c6e5
commit c304dff702
No known key found for this signature in database
GPG Key ID: B208C4084A2C582D

View File

@ -1,43 +1,43 @@
name: Mirrors
# Push to all private (configured) mirrors.
on: [ push, create, delete ]
concurrency:
group: git-mirror
jobs:
gitlab:
runs-on: ubuntu-latest
steps:
- name: GitLab
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:{{ secrets.GITLAB_REPO_USERNAME }}/thgtoa.git"
codeberg:
runs-on: ubuntu-latest
steps:
- name: Codeberg
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:{{ secrets.CODEBERG_REPO_USERNAME }}/thgtoa.git"
disroot:
runs-on: ubuntu-latest
steps:
- name: Disroot
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@git.disroot.org:{{ secrets.DISROOT_REPO_USERNAME }}/thgtoa.git"
name: Mirrors
# Push to all private (configured) mirrors.
on: [ push, create, delete ]
concurrency:
group: git-mirror
jobs:
gitlab:
runs-on: ubuntu-latest
steps:
- name: GitLab
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:{{ GITLAB_REPO_USERNAME }}/thgtoa.git"
codeberg:
runs-on: ubuntu-latest
steps:
- name: Codeberg
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:{{ CODEBERG_REPO_USERNAME }}/thgtoa.git"
disroot:
runs-on: ubuntu-latest
steps:
- name: Disroot
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@git.disroot.org:{{ DISROOT_REPO_USERNAME }}/thgtoa.git"