Skip to content

Mirroring

Mirroring #1961

Workflow file for this run

name: Mirroring
on: [push, delete]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}
jobs:
GitLab:
runs-on: ubuntu-latest
steps:
- name: Checkout code.
run: git clone --mirror "https://github.com/${GITHUB_REPOSITORY}.git" "${GITHUB_WORKSPACE}"
- name: Mirroring.
run: git push --mirror "https://oauth2:${{ secrets.GITLAB_PERSONAL_ACCESS_TOKEN }}@gitlab.com/DeveloperC/${{ github.event.repository.name }}"