juzhiyuan commented on a change in pull request #86:
URL: https://github.com/apache/apisix-website/pull/86#discussion_r528198866
##########
File path: .github/workflows/deploy.yml
##########
@@ -28,15 +28,20 @@ jobs:
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'
- find . -type f -name "*.md" -print0 | xargs -0 sed -i '' -e
's/\.\/images/https\:\/\/apisix\.apache\.org\/images/g'
- name: Build
run: cd website && yarn && yarn build
- name: Copy files
- run: cd website && cd build && cd apisix-website && cp
../../../README.md ./ && cp ../../../.asf.yaml ./
+ run: |
+ cd website/build/apisix-website
+ cp ../../../README.md ./ && cp ../../../.asf.yaml ./
+ cd apisix
+ find . -type f -name "*.html" -print0 | xargs -0 sed -i -e
's/src="\.\.\/\.\.\/doc\/images/src="https:\/\/apisix\.apache\.org\/images/g'
Review comment:
refer to
https://github.com/apache/apisix-website/pull/86#discussion_r527350973
----------------------------------------------------------------
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:
[email protected]