ci/cd Fix BunkerWeb installation job with linux core tests
This commit is contained in:
parent
0b14f8a5d0
commit
453cfc2dcc
|
@ -38,14 +38,14 @@ jobs:
|
|||
- name: Install BunkerWeb
|
||||
run: |
|
||||
# Install NGINX
|
||||
apt update
|
||||
apt install -y curl gnupg2 ca-certificates lsb-release ubuntu-keyring
|
||||
sudo apt update
|
||||
sudo apt install -y curl gnupg2 ca-certificates lsb-release ubuntu-keyring
|
||||
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
|
||||
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | tee /etc/apt/sources.list.d/nginx.list
|
||||
apt update
|
||||
apt install -y nginx=1.24.0-1~jammy
|
||||
sudo apt update
|
||||
sudo apt install -y nginx=1.24.0-1~jammy
|
||||
# Install BunkerWeb
|
||||
apt install -fy /tmp/bunkerweb.deb
|
||||
sudo apt install -fy /tmp/bunkerweb.deb
|
||||
- name: Edit configuration files
|
||||
run: |
|
||||
echo "www.example.com 127.0.0.1" >> /etc/hosts
|
||||
|
|
Loading…
Reference in New Issue