diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a592556..1e5fa47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,6 +45,7 @@ configure: - cat srvconfig/nginx.conf | sed -e 's/{domain}/bot.furmeet.app/g' -e 's/{port}/34891/g' | sudo tee /etc/nginx/sites-available/bot-furmeet-app-http.conf > /dev/null - cat srvconfig/nginx.conf | sed -e 's/{domain}/test-bot.furmeet.app/g' -e 's/{port}/34892/g' | sudo tee /etc/nginx/sites-available/test-bot-furmeet-app-http.conf > /dev/null - cat srvconfig/systemd.service | sed -e 's/{name}/furmeet-bot/g' -e 's/{path}/\/var\/www\/furmeet-bot/g' | sudo tee /etc/systemd/system/furmeet-bot.service > /dev/null + - sudo -u http make depends -C /var/www/furmeet-bot - sudo -u http make all -C /var/www/furmeet-bot restart: