-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (46 loc) · 1.6 KB
/
mirror.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This is a basic workflow that is manually triggered
name: Mirror repo
on: [push]
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: mirror in gitlab
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/Anas-Elgarhy/dotfiles.git'
GIT_USERNAME: Anas-Elgarhy
GIT_PASSWORD: ${{ secrets.GITLAP_TOKEN }}
- name: mirror in bitbucket
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://anas-elgarhy@bitbucket.org/anas_elgarhy/dotfiles.git'
REMOTE_NAME: bitbucket
GIT_USERNAME: anas_elgarhy
GIT_PASSWORD: ${{ secrets.BITBUCKET_TOKEN }}
- name: mirror in codeberg
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://codeberg.org/anas-elgarhy/dotfiles.git'
REMOTE_NAME: codeberg
GIT_USERNAME: anas-elgarhy
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}
- name: mirror in git.disroot
uses: actions/checkout@v4
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 }}