Commit a8eb439c authored by Dominik Hebeler's avatar Dominik Hebeler

Update .gitlab-ci.yml

parent 6000baa1
update:
update(144.76.113.134):
tags:
- 144.76.113.134
only:
- tags
- triggers
before_script:
# Abhängigkeiten überprüfen
- which composer
- which git
- which php7.0
script:
# Pfad zum neu geklonten Repo
- path=`pwd`
- cd ~/
- if [ -d MetaGer_neu ]; then rm -rf MetaGer_neu;fi
- git clone "$path" MetaGer_neu
- cd MetaGer_neu
- composer update
- chmod -R 777 storage
- chmod -R 777 bootstrap/cache
- scp metager@metager3.de:~/.env .
- scp metager@metager3.de:~/sumas.xml config/
- scp metager@metager3.de:~/sumasEn.xml config/
- chmod 777 config/sumas.xml config/sumasEn.xml
- cd ~/
- rm -rf MetaGer
- mv MetaGer_neu MetaGer
update(metager3.de):
tags:
- metager3
only:
- tags
- triggers
......
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