Skip to content
copy

GitHub Action

Gitlab Sync

v3 Latest version

Gitlab Sync

copy

Gitlab Sync

Action to mirror a repository to GitLab

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Gitlab Sync

uses: action-pack/gitlab-sync@v3

Learn more about this action in action-pack/gitlab-sync

Choose a version

Gitlab Sync

Build Version Size

Action to mirror a repository to GitLab.

Usage 🚀

name: Gitlab Sync

on: [push, pull_request, create, delete]

jobs:
  sync:
    name: Gitlab Sync
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: action-pack/gitlab-sync@v3
        with:
          username: ${{ github.actor }}
          url: https://gitlab.com/${{ github.repository }}.git
          # Personal access token from gitlab.com 
          token: ${{ secrets.GITLAB_TOKEN }}

Stars 🌟

Stars