ci/cd fix write in /etc/hosts file in test core linux

This commit is contained in:
Théophile Diot 2023-09-18 17:26:16 +02:00
parent 990b6336e2
commit 4cce8385c5
No known key found for this signature in database
GPG Key ID: 248FEA4BAE400D06
1 changed files with 1 additions and 1 deletions

View File

@ -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