.gitlab-ci.yml 344 Bytes
Newer Older
1
update:
Dominik Hebeler's avatar
Bugfix    
Dominik Hebeler committed
2
3
4
  only:
    - tags
    - triggers
5
  before_script:
6
    # Abhängigkeiten überprüfen
7
8
    - which composer
    - which git
Dominik Hebeler's avatar
Bugfix    
Dominik Hebeler committed
9
  script:
10
    # Pfad zum neu geklonten Repo
11
    - path=`pwd`
Dominik Hebeler's avatar
Bugfix    
Dominik Hebeler committed
12
    - cd ~/
Dominik Hebeler's avatar
Dominik Hebeler committed
13
14
15
16
17
18
    - git clone "$path" MetaGer_neu
    - cd MetaGer_neu
    - composer update
    - cd ~/
    - rm -rf MetaGer
    - mv MetaGer_neu MetaGer