personal-website/deploy-local

10 lines
777 B
Text
Raw Normal View History

2023-12-21 16:41:54 +01:00
#!/bin/sh
# Replace localhost addresses with proper
2023-12-21 17:20:36 +01:00
find docs -type f -print0 | xargs -0 sed -i 's/https:\/\/www.zdenekborovec.cz/http:\/\/www.zdenekborovec-dev.cz/g'
find docs -type f -print0 | xargs -0 sed -i 's/https:\/\/assets.zdenekborovec.cz\/common/http:\/\/assets.zdenekborovec-dev.cz\/common/g'
find docs -type f -print0 | xargs -0 sed -i 's/https:\/\/zdenekborovec.cz/http:\/\/zdenekborovec-dev.cz/g'
find assets -type f -print0 | xargs -0 sed -i 's/https:\/\/www.zdenekborovec.cz/http:\/\/www.zdenekborovec-dev.cz/g'
find assets -type f -print0 | xargs -0 sed -i 's/https:\/\/assets.zdenekborovec.cz\/common/http:\/\/assets.zdenekborovec-dev.cz\/common/g'
find assets -type f -print0 | xargs -0 sed -i 's/https:\/\/zdenekborovec.cz/http:\/\/zdenekborovec-dev.cz/g'