ci/cd fix write in /etc/hosts file in test core linux
This commit is contained in:
parent
990b6336e2
commit
4cce8385c5
|
@ -49,7 +49,7 @@ jobs:
|
|||
sudo apt install -fy /tmp/bunkerweb.deb
|
||||
- name: Edit configuration files
|
||||
run: |
|
||||
echo "www.example.com 127.0.0.1" >> /etc/hosts
|
||||
echo "www.example.com 127.0.0.1" | sudo tee -a /etc/hosts
|
||||
echo "SERVER_NAME=www.example.com" > /etc/bunkerweb/variables.env
|
||||
{ echo "HTTP_PORT=80"; echo "HTTPS_PORT=443"; echo "DNS_RESOLVERS=9.9.9.9 8.8.8.8 8.8.4.4"; } >> /etc/bunkerweb/variables.env
|
||||
- name: Run tests
|
||||
|
|
Loading…
Reference in New Issue