From 07d46eb1a544f3c12d39057ce2a723448a21b049 Mon Sep 17 00:00:00 2001 From: Jurgen Lentz <42538773+jurgen-lentz@users.noreply.github.com> Date: Tue, 4 Feb 2025 01:49:51 +0100 Subject: [PATCH] Create gitlab-mirror.yml --- .github/workflows/gitlab-mirror.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/gitlab-mirror.yml diff --git a/.github/workflows/gitlab-mirror.yml b/.github/workflows/gitlab-mirror.yml new file mode 100644 index 0000000..2e02920 --- /dev/null +++ b/.github/workflows/gitlab-mirror.yml @@ -0,0 +1,18 @@ +name: OR-Gitlab Mirror +on: + - push + - delete +jobs: + sync: + runs-on: ubuntu-latest + name: Git Repo Sync + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: wangchucheng/git-repo-sync@v0.1.0 + with: + target-url: ${{ secrets.OR_GITLAB_URL }} + target-username: ${{ secrets.OR_GITLAB_USERNAME }} + target-token: ${{ secrets.OR_GITLAB_ACCESS_TOKEN } +