Update GHA workflow [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-04 15:57:46 +02:00
parent 2a6e115795
commit 9ce3af6fe1
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
2 changed files with 9 additions and 5 deletions

View file

@ -112,8 +112,9 @@ printf "\n"
echo "${bold}${yellow}---------------------"
echo "${bold}${yellow}Setup Vhost for Nginx"
echo "${bold}${yellow}---------------------"
sudo cp ./dev-tools/default.vhost /etc/nginx/sites-available/default.vhost
sudo ln -s /etc/nginx/sites-available/default.vhost /etc/nginx/sites-enabled/default.vhost
sudo rm /etc/nginx/sites-available/default
sudo cp ./dev-tools/default.vhost /etc/nginx/sites-available/default
sudo ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
sudo cp ./dev-tools/index.html /var/www/html/index.html
}