Commit 457a8e4a authored by okhin's avatar okhin 🚴

Let's use ex

parent b18bb02e
Pipeline #2370 failed with stage
in 6 seconds
......@@ -28,5 +28,5 @@ job deploy:
- echo "Generate apache2 .htaccess"
- $WPCLI rewrite flush --hard
- echo "Preping apache2 config"
- sed -i -e "s/\\\$WP_URL/$WP_URL/g" apache2.conf
- sed -i -e "s/\\\$WP_URL/$WP_URL/g" apache2-tls.conf
- ex +%s/\$WP_URL/$WP_URL/g +wqa! apache2.conf
- ex +%s/\$WP_URL/$WP_URL/g +wqa! apache2-tls.conf
<VirtualHost *:80>
ServerName $WP_URL
ServerAlias *.$WP_URL
ServerName sp_URL
ServerAlias *.sp_URL
ErrorLog /var/log/apache2/grange-error.log
CustomLog /var/log/apache2/grange-access.log combined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment