From 73eb02911f1606d222051a6e58110ed1eb4503da Mon Sep 17 00:00:00 2001 From: xuhui Date: Mon, 18 Nov 2024 13:55:41 +0800 Subject: [PATCH] replace doc press host --- .github/workflows/deploy-1000h-portal-aliyun.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-1000h-portal-aliyun.yml b/.github/workflows/deploy-1000h-portal-aliyun.yml index b4e986e1..e70dd551 100644 --- a/.github/workflows/deploy-1000h-portal-aliyun.yml +++ b/.github/workflows/deploy-1000h-portal-aliyun.yml @@ -46,6 +46,9 @@ jobs: - name: Replace CN Footer run: cp 1000h-portal/components/layout/PageFooterCN.vue 1000h-portal/components/layout/PageFooter.vue + - name: Replace CN doc host + run: sed -i 's#https://1000h.org#https://press.1000h.org.cn/1000-hours#g' 1000h-portal/components/Slogan.vue + - name: Build run: yarn portal:generate