Skip to content
Snippets Groups Projects
Commit c7ff27b2 authored by Vincent Texier's avatar Vincent Texier
Browse files

[CI] Fix .push_to_github to enable git clone step

parent ceb525cd
No related branches found
No related tags found
No related merge requests found
...@@ -11,13 +11,13 @@ image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4 ...@@ -11,13 +11,13 @@ image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4
# SUB-TASKS # SUB-TASKS
.push_to_github: .push_to_github:
variables:
GIT_STRATEGY: none
tags: tags:
- github - github
after_script: after_script:
# remove last clone
- rm -rf ./* - rm -rf ./*
- rm -rf .git - rm -rf .git
# do a mirror clone
- git clone --mirror $CI_REPOSITORY_URL . - git clone --mirror $CI_REPOSITORY_URL .
- git remote add github $GITHUB_URL_AND_KEY - git remote add github $GITHUB_URL_AND_KEY
- git config --global user.email "contact@duniter.org" - git config --global user.email "contact@duniter.org"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment