Commit 0d2cb64c authored by Sebastian Kehr's avatar Sebastian Kehr 🚣🏼
Browse files

exclude github mirror stage

parent 260c24b2
Pipeline #375 failed with stage
in 26 seconds
stages:
- image
- mirror
'2.4':
stage: image
......@@ -30,21 +29,4 @@ stages:
only:
- /^2.4/
except:
- branches
github_mirror:
stage: mirror
image:
name: alpine/git
entrypoint: [ "/bin/sh", "-c" ]
variables:
GIT_STRATEGY: clone
GIT_CHECKOUT: "false"
script: |
cd /tmp
git clone --mirror ${CI_REPOSITORY_URL} project
cd project
git remote add github https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/ubleipzig/symfony-httpd.git
git push --mirror github
tags:
- docker
- branches
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment