You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2021/02/04 10:41:16 UTC
[apisix-website] 01/01: fix: update CD configuration
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch fix-cd
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
commit 1758f966a8bff3b1c1a92e9d6f35b382bbaef5a5
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Thu Feb 4 18:40:58 2021 +0800
fix: update CD configuration
---
.github/workflows/deploy.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 935c0fc..d1f3031 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -34,8 +34,8 @@ jobs:
- name: Copy files
run: |
- cd website/build/apisix-website
- cp ../../../README.md ./ && cp ../../../.asf.yaml ./
+ cd website/build/
+ 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'
find . -type f -name "*.html" -print0 | xargs -0 sed -i -e 's/src="\.\.\/\.\.\/images/src="https:\/\/apisix\.apache\.org\/images/g'
@@ -48,5 +48,5 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: website/build/apisix-website
+ publish_dir: website/build
publish_branch: asf-site