fix: CI: uses '%' instead of '/' in sed
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2022-12-12 20:00:37 +05:30
parent ad0c7ae94d
commit ca6bae8463
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -6,7 +6,7 @@ pipeline:
- apt-get install -y --no-install-recommends nginx sudo - apt-get install -y --no-install-recommends nginx sudo
- mkdir -p /etc/librepages/nginx/sites-available - mkdir -p /etc/librepages/nginx/sites-available
- mkdir -p /etc/librepages/nginx/sites-enabled/ - mkdir -p /etc/librepages/nginx/sites-enabled/
- sed -i 's/include \/etc\/nginx\/sites-enabled/include \/etc\/librepages\/nginx\/sites-enabled/' /etc/nginx/nginx.conf - sed -i "s%include \/etc\/nginx\/sites-enabled%include \/etc\/librepages\/nginx\/sites-enabled%" /etc/nginx/nginx.conf
- mkdir /var/www/website/ && echo "Hello Librepages" > /var/www/website/index.html - mkdir /var/www/website/ && echo "Hello Librepages" > /var/www/website/index.html
# nginx_le_bind runs this command. # nginx_le_bind runs this command.
# Testing beforehand to ensure it is setup properly # Testing beforehand to ensure it is setup properly