Update .drone.yml

This commit is contained in:
Bozhidar 2024-05-14 19:37:08 +03:00
parent 23f717081c
commit b57b4a2199

View file

@ -6,12 +6,13 @@ steps:
image: bobicloudvision/phyre-panel:latest image: bobicloudvision/phyre-panel:latest
environment: environment:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands: commands:
- MAIN_REPO_DIR=$(pwd) - MAIN_REPO_DIR=$(pwd)
- apt-get install -y rsync - apt-get install -y rsync
- rsync $MAIN_REPO_DIR/web/ /usr/local/phyre/web/ -r - cp /usr/local/phyre/web/phyre-config.ini /usr/local/phyre/phyre-config.ini.bak
- rm -rf /usr/local/phyre/web
- cp -r $MAIN_REPO_DIR/web /usr/local/phyre/web
- cp /usr/local/phyre/phyre-config.ini.bak /usr/local/phyre/web/phyre-config.ini
- cd /usr/local/phyre/web/ - cd /usr/local/phyre/web/
- ls -la - ls -la
- wget https://getcomposer.org/download/latest-stable/composer.phar - wget https://getcomposer.org/download/latest-stable/composer.phar