Skip to content

adambirds/sync-github-to-gitlab-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync GitHub to GitLab Action

This GitHub action syncs a GitHub repository to a GitLab repository as a mirror.

Usage

steps:
    - uses: actions/checkout@v2
    - uses: adambirds/sync-github-to-gitlab-action@v1.1.0
      with:
        destination_repository: git@gitlab.com:adambirds/sync-github-to-gitlab.git
        destination_branch_name: main
        destination_ssh_key: ${{ secrets.GITLAB_SSH_KEY }}

Inputs

destination_repository

Required The SSH URL of the GitLab repository to sync to.

destination_branch_name

Not Required The branch of the GitLab repository to sync to. Defaults to main.

destination_ssh_key

Required The SSH key to use to authenticate with the GitLab repository.

License

The scripts and documentation in this project are released under the MIT License

About

GitHub Action to sync GitHub Repo to GitLab Repo as a mirror.

Resources

License

Stars

Watchers

Forks

Packages

No packages published