fix: CI: uses '%' instead of '/' in sed
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
ad0c7ae94d
commit
ca6bae8463
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue