ci: Master branch mirroring
This commit is contained in:
parent
7f65b0c418
commit
d583784ee8
1 changed files with 13 additions and 0 deletions
13
.woodpecker/main-mirror.yml
Normal file
13
.woodpecker/main-mirror.yml
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue