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



##########
File path: .github/workflows/deploy.yml
##########
@@ -20,10 +20,14 @@ jobs:
     # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
     - uses: actions/checkout@v2
 
-    - name: Clone apisix's docs from repo
+    - name: Clone apisix's docs from repo & update image's link
       run: |
         git clone https://github.com/apache/apisix.git
+        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'

Review comment:
       I'm sure there will have easier ways to handle this case, but I have no 
idea how to do that.




----------------------------------------------------------------
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