From c584ef4052a8b15f1823575416a7abaf1cfe62ec Mon Sep 17 00:00:00 2001 From: Martin Peck Date: Wed, 17 Aug 2022 15:24:25 -0700 Subject: [PATCH] Use Git Repo Sync action to update GitLab repository for CI/CD. --- .github/workflows/gitlab-mirror.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..81850ce --- /dev/null +++ b/.github/workflows/gitlab-mirror.yml @@ -0,0 +1,19 @@ +name: 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: https://gitlab.com/meedan/narcissus.git/ + target-username: sonoransun + target-token: ${{ secrets.GITLAB_ACCESS_TOKEN }}