2022-04-30 22:46:32 +00:00
|
|
|
# This is a basic workflow that is manually triggered
|
|
|
|
|
|
|
|
name: Mirror repo
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2022-04-30 22:49:01 +00:00
|
|
|
|
2022-04-30 22:46:32 +00:00
|
|
|
mirror:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: mirror in gitlab
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: yesolutions/mirror-action@master
|
|
|
|
with:
|
2022-04-30 22:49:01 +00:00
|
|
|
REMOTE: 'https://gitlab.com/Anas-Elgarhy/dotfiles.git'
|
2022-04-30 22:46:32 +00:00
|
|
|
GIT_USERNAME: Anas-Elgarhy
|
|
|
|
GIT_PASSWORD: ${{ secrets.GITLAP_TOKEN }}
|
|
|
|
|
|
|
|
- name: mirror in bitbucket
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: yesolutions/mirror-action@master
|
|
|
|
with:
|
2022-08-15 18:34:31 +00:00
|
|
|
REMOTE: 'https://anas-elgarhy@bitbucket.org/anas_elgarhy/dotfiles.git'
|
2022-04-30 22:46:32 +00:00
|
|
|
REMOTE_NAME: bitbucket
|
|
|
|
GIT_USERNAME: anas_elgarhy
|
|
|
|
GIT_PASSWORD: ${{ secrets.BITBUCKET_TOKEN }}
|
|
|
|
|
|
|
|
- name: mirror in codeberg
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: yesolutions/mirror-action@master
|
|
|
|
with:
|
2022-04-30 22:49:01 +00:00
|
|
|
REMOTE: 'https://codeberg.org/anas-elgarhy/dotfiles.git'
|
2022-04-30 22:46:32 +00:00
|
|
|
REMOTE_NAME: codeberg
|
|
|
|
GIT_USERNAME: anas-elgarhy
|
|
|
|
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}
|
2023-04-15 21:20:16 +00:00
|
|
|
|
|
|
|
- name: mirror in git.disroot
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: yesolutions/mirror-action@master
|
|
|
|
with:
|
|
|
|
REMOTE: 'https://git.disroot.org/anas-elgarhy/dotfiles.git'
|
|
|
|
REMOTE_NAME: disroot
|
|
|
|
GIT_USERNAME: anas-elgarhy
|
|
|
|
GIT_PASSWORD: ${{ secrets.DISROOT_TOKEN }}
|