juzhiyuan commented on a change in pull request #86:
URL: https://github.com/apache/apisix-website/pull/86#discussion_r527351627



##########
File path: .github/workflows/deploy.yml
##########
@@ -29,8 +31,7 @@ jobs:
         cp -r apisix/doc/images ./website/static && rm -rf apisix/doc/images
         cp -r apisix/doc ./docs/apisix
         cd ./docs/apisix
-        find . -type f -name "*.md" -print0 | xargs -0 sed -i '' -e 
's/\.\.\/images/https\:\/\/apisix\.apache\.org\/images/g'
-        find . -type f -name "*.md" -print0 | xargs -0 sed -i '' -e 
's/\.\/images/https\:\/\/apisix\.apache\.org\/images/g'
+        find . -type f -name "*.md" -print0 | xargs -0 sed -i -e 
's/(\.\.\/|\.\/)+?(\w+\/)?images/https\:\/\/apisix\.apache\.org\/images/g'

Review comment:
       The correct link is `https://apisix.apache.org/images/xxxx.png`
   
   ## Cases
   - ```![flow-load-plugin](./images/flow-load-plugin.png)```
   - ```![](images/aws-fargate-cdk.png)```
   - ```![](../../doc/images/plugin/grafana_1.png)```
   - ```![](../../images/plugin/zipkin-2.png)```
   
   Once those cases above have been resolved, then all current pictures will 
show normally.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to