mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2025-09-20 19:45:01 +02:00
🐞 fix(remove): mirror to gitlab
This commit is contained in:
22
.github/workflows/gitlab.yml
vendored
22
.github/workflows/gitlab.yml
vendored
@@ -1,22 +0,0 @@
|
|||||||
name: Mirror to GitLab
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
mirror:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2.3.3
|
|
||||||
- name: Mirror to GitLab
|
|
||||||
env:
|
|
||||||
GITLAB_REPO: ${{ secrets.GITLAB_REPO }}
|
|
||||||
GITLAB_USERNAME: ${{ secrets.GITLAB_USERNAME }}
|
|
||||||
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
|
|
||||||
run: |
|
|
||||||
git remote add gitlab https://${GITLAB_USERNAME}:${GITLAB_PASSWORD}@${GITLAB_REPO##*/}.git
|
|
||||||
git config --global push.default mirror
|
|
||||||
git push --mirror gitlab
|
|
Reference in New Issue
Block a user