From d583784ee870b4b577f31129c0235f86d1cda25d Mon Sep 17 00:00:00 2001 From: Piotr Dec Date: Fri, 15 Mar 2024 01:05:56 +0100 Subject: [PATCH] ci: Master branch mirroring --- .woodpecker/main-mirror.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .woodpecker/main-mirror.yml diff --git a/.woodpecker/main-mirror.yml b/.woodpecker/main-mirror.yml new file mode 100644 index 0000000..1972f97 --- /dev/null +++ b/.woodpecker/main-mirror.yml @@ -0,0 +1,13 @@ +skip_clone: true + +steps: + - name: mirror + image: bitnami/git:2.44.0 + commands: + - git clone $CI_REPO_CLONE_URL repository + - cd repository + - git push https://Administrator:$GIT_PAT@git.ztsh.eu/Administrator/hackerrank.git + secrets: [git_pat] + +when: + branch: master