[ci] Seprate the mirror action
This commit is contained in:
parent
540a9eff7f
commit
8d49ee09de
9 changed files with 128 additions and 44 deletions
17
.github/workflows/bitbucket-mirror.yml
vendored
Normal file
17
.github/workflows/bitbucket-mirror.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Mirror the repo to bitbucket
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
bitbucket-mirror:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- 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/archy-dwm.git.git'
|
||||
REMOTE_NAME: bitbucket
|
||||
GIT_USERNAME: anas_elgarhy
|
||||
GIT_PASSWORD: ${{ secrets.BITBUCKET_TOKEN }}
|
17
.github/workflows/codeberg-mirror.yml
vendored
Normal file
17
.github/workflows/codeberg-mirror.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Mirror the repo to codeberg
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
codeberg-mirror:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: mirror in codeberg
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: yesolutions/mirror-action@master
|
||||
with:
|
||||
REMOTE: 'https://codeberg.org/archy-linux/archy-dwm.git'
|
||||
REMOTE_NAME: codeberg
|
||||
GIT_USERNAME: anas-elgarhy
|
||||
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}
|
17
.github/workflows/disroot-mirror.yml
vendored
Normal file
17
.github/workflows/disroot-mirror.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Mirror the repo to disroot
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
disroot-mirror:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: mirror in git.disroot
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: yesolutions/mirror-action@master
|
||||
with:
|
||||
REMOTE: 'https://git.disroot.org/archy-linux/archy-dwm.git'
|
||||
REMOTE_NAME: disroot
|
||||
GIT_USERNAME: anas-elgarhy
|
||||
GIT_PASSWORD: ${{ secrets.DISROOT_TOKEN }}
|
17
.github/workflows/gitdab-mirror.yml
vendored
Normal file
17
.github/workflows/gitdab-mirror.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Mirror the repo to Gitdab
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
gitdab-mirror:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: mirror in Gitdab
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: yesolutions/mirror-action@master
|
||||
with:
|
||||
REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git'
|
||||
REMOTE_NAME: gitdab
|
||||
GIT_USERNAME: anas-elgarhy
|
||||
GIT_PASSWORD: ${{ secrets.GITDAB_TOKEN }}
|
17
.github/workflows/gitea-mirror.yml
vendored
Normal file
17
.github/workflows/gitea-mirror.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Mirror the repo to Gitea
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
gitea-mirror:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: mirror in Gitea
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: yesolutions/mirror-action@master
|
||||
with:
|
||||
REMOTE: 'https://gitea.com/archy-linux/archy-dwm.git'
|
||||
REMOTE_NAME: gitea
|
||||
GIT_USERNAME: anas-elgarhy
|
||||
GIT_PASSWORD: ${{ secrets.GITEA_TOKEN }}
|
16
.github/workflows/gitlab-mirror.yml
vendored
Normal file
16
.github/workflows/gitlab-mirror.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: Mirror the repo to gitlab
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
gitlab-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/archy-linux/archy-dwm'
|
||||
GIT_USERNAME: Anas-Elgarhy
|
||||
GIT_PASSWORD: ${{ secrets.GITLAP_TOKEN }}
|
39
.github/workflows/mirror.yml
vendored
39
.github/workflows/mirror.yml
vendored
|
@ -1,39 +0,0 @@
|
|||
# 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 }}
|
||||
|
||||
# - 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 }}
|
||||
|
||||
- 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 }}
|
17
.github/workflows/pagure-mirror.yml
vendored
Normal file
17
.github/workflows/pagure-mirror.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Mirror the repo to pagure
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
gitdab-mirror:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: mirror in Gitdab
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: yesolutions/mirror-action@master
|
||||
with:
|
||||
REMOTE: 'https://gitdab.com/archy-linux/archy-dwm.git'
|
||||
REMOTE_NAME: gitdab
|
||||
GIT_USERNAME: anas-elgarhy
|
||||
GIT_PASSWORD: ${{ secrets.PAGURE_TOKEN }}
|
15
README.md
15
README.md
|
@ -20,11 +20,16 @@
|
|||
- `libxft-bgra` for color emojies support
|
||||
- `archy-slstatus` the status bar
|
||||
|
||||
### Available in
|
||||
[![GitHub](https://img.shields.io/badge/GitHub-Main%20repo-brightgreen?style=for-the-badge&logo=GitHub)](https://github.com/anas-elgarhy/dwm-anas)
|
||||
[![GitLab](https://img.shields.io/badge/GitLab-Mirror%20repo-brightgreen?style=for-the-badge&logo=GitLab)](https://gitlab.com/anas-elgarhy/dwm-anas)
|
||||
[![BitBucket](https://img.shields.io/badge/BitBucket-Mirror%20repo-brightgreen?style=for-the-badge&logo=BitBucket)](https://bitbucket.org/anas_elgarhy/dwm-anas)
|
||||
[![Codeberg](https://img.shields.io/badge/Codeberg-Mirror%20repo-brightgreen?style=for-the-badge&logo=Codeberg)](https://codeberg.org/anas-elgarhy/dwm-anas)
|
||||
### Mirrors
|
||||
* [GitHub](https://github.com/archy-linux/archy-dwm) - The upstream repository
|
||||
* [GitLab](https://gitlab.com/archy-linux/archy-dwm)
|
||||
* [NotABug](https://notabug.org/archy-linux/archy-dwm) - Not instant updates
|
||||
* [Codeberg](https://codeberg.org/archy-linux/archy-dwm)
|
||||
* [Gitea](https://gitea.com/archy-linux/archy-dwm)
|
||||
* [Gitdab](https://gitdab.com/archy-linux/archy-dwm)
|
||||
* [Pagure](https://pagure.io/archy-dwm)
|
||||
* [Bitbucket](https://bitbucket.org/anas_elgarhy/archy-dwm)
|
||||
* [disroot](https://git.disroot.org/archy-linux/archy-dwm)
|
||||
|
||||
### References:
|
||||
- [XF86keysym](https://cgit.freedesktop.org/xorg/proto/x11proto/tree/XF86keysym.h)
|
||||
|
|
Loading…
Reference in a new issue