mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-04 00:50:37 +05:00
gitlab-ci: Push master to Sourceforge after successfull build/test
This commit is contained in:
parent
04d7e47824
commit
644b0b8ad8
@ -156,6 +156,20 @@ test_ubuntu_1604:
|
|||||||
# Deploy stage
|
# Deploy stage
|
||||||
############################################
|
############################################
|
||||||
|
|
||||||
|
deploy_sourceforge:
|
||||||
|
stage: deploy
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
- docker
|
||||||
|
script:
|
||||||
|
- git remote add sourceforge ssh://mhochste@git.code.sf.net/p/netgen-mesher/git || true
|
||||||
|
- git remote update
|
||||||
|
- git checkout master
|
||||||
|
- git pull origin master
|
||||||
|
- git push sourceforge master
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
# Cleanup stage
|
# Cleanup stage
|
||||||
############################################
|
############################################
|
||||||
|
Loading…
Reference in New Issue
Block a user