archy-dwm/.github/workflows/mirror.yml

40 lines
1.2 KiB
YAML
Raw Normal View History

2022-07-16 17:18:50 +00:00
# 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@v3
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/anas-elgarhy/dwm-anas.git'
GIT_USERNAME: Anas-Elgarhy
GIT_PASSWORD: ${{ secrets.GITLAP_TOKEN }}
2022-07-16 17:52:01 +00:00
# - name: mirror in bitbucket
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: yesolutions/mirror-action@master
# with:
# REMOTE: 'https://anas_elgarhy@bitbucket.org/anas_elgarhy/dwm-anas.git'
# REMOTE_NAME: bitbucket
# GIT_USERNAME: anas_elgarhy
# GIT_PASSWORD: ${{ secrets.BITBUCKET_TOKEN }}
2022-07-16 17:18:50 +00:00
- name: mirror in codeberg
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://codeberg.org/anas-elgarhy/dwm-anas.git'
REMOTE_NAME: codeberg
GIT_USERNAME: anas-elgarhy
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}