-
-
Notifications
You must be signed in to change notification settings - Fork 0
22 lines (20 loc) · 650 Bytes
/
Copy pathmirror.yaml
File metadata and controls
22 lines (20 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#################################
# @author K10s Open Source Team #
# @since 01/01/2025 #
#################################
name: Mirror GitLab
on:
push:
branches:
- main
jobs:
mirror-github-to-gitlab-code:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-gitlab
cancel-in-progress: true
steps:
- name: Clone repository
run: git clone --bare "https://github.com/EliasDeHondt/K10s.git" .
- name: Push to GitLab
run: git push --mirror "https://${{ secrets.GITLAB_USERNAME }}:${{ secrets.GITLAB_TOKEN }}@gitlab.com/kdg-ti/the-lab/teams-24-25/k10s/k10s.git"