Skip to content

Commit

Permalink
update mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
yomaq committed Feb 7, 2025
1 parent cfd813c commit 2134bcf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/MirrorToGitlab.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Mirroring

on: [ push, delete, create ]
on: [ push, delete, workflow ]

jobs:
to_gitlab:
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@v1
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}
with:
source-repo: "git@github.com:yomaq/nix-config.git"
destination-repo: "git@gitlab.com:yomaq2/nix-config.git"
- uses: keninkujovic/gitlab-sync@2.0.0
with:
gitlab_url: https://gitlab.com/yomaq2/nix-config.git
username: ${{ secrets.USERNAME }}
gitlab_pat: ${{ secrets.GITLAB_PAT }}

0 comments on commit 2134bcf

Please sign in to comment.