Newer
Older
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
update(maps.metager.de):
tags:
only:
- master@dominik/MetaGerMaps
before_script:
# Abhängigkeiten überprüfen
- which composer
- which git
- if [ -d ~/.MetaGerMaps ]; then rm -rf ~/.MetaGerMaps;fi
- mkdir ~/.MetaGerMaps
- cp -r * ~/.MetaGerMaps
- cd ~/.MetaGerMaps
- composer install

Dominik Hebeler
committed
- cp ~/.env .
- chmod -R 777 storage
- chmod -R 777 bootstrap/cache
- if [ -f ~/MetaGerMaps/artisan ]; then php ~/MetaGerMaps/artisan down;fi
- cd ~/
- while [ -d ~/MetaGerMaps ]; do rm -rf ~/MetaGerMaps;done
- mv .MetaGerMaps MetaGerMaps
- if [ -f ~/MetaGerMaps/artisan ]; then php ~/MetaGerMaps/artisan up;fi