File: /var/www/ipsremont-demo/.gitlab-ci.yml
# deploy:release:
# only:
# - master
# script:
# - cd /var/www/service
# - git fetch
# - git reset --hard origin/master
# - php7.4 /usr/bin/composer install --no-plugins --ignore-platform-reqs
# - php7.4 artisan migrate --force
# - php7.4 artisan config:clear
deploy:test:
only:
- dev
tags:
- test-srv
script:
- cd /var/www/ipsremont-demo
- git fetch
- git reset --hard origin/dev
- php7.4 /usr/bin/composer install --no-plugins --ignore-platform-reqs
- php7.4 artisan migrate
- php7.4 artisan config:clear