Skip to content

Commit

Permalink
Create mirror.yml (from github to gitlab)
Browse files Browse the repository at this point in the history
  • Loading branch information
anaegel authored Nov 25, 2024
1 parent 41370b4 commit b2c7aa2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Mirror GitLab Repository

on:
push:
branches:
- main

jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Push to GitLab
run: |
git remote add gitlab [email protected]:ug4-project/ugcore.git
git push --mirror gitlab
env:
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

0 comments on commit b2c7aa2

Please sign in to comment.