From 16957cc61451a22ae0b8c547594912b6f8e3dc9f Mon Sep 17 00:00:00 2001 From: xuhui Date: Wed, 30 Oct 2024 19:41:08 +0800 Subject: [PATCH] add icp info --- .github/workflows/deploy-1000h-portal-aliyun.yml | 3 +++ 1000h-portal/components/layout/PageFooter.vue | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-1000h-portal-aliyun.yml b/.github/workflows/deploy-1000h-portal-aliyun.yml index 7a64c328..8210c38f 100644 --- a/.github/workflows/deploy-1000h-portal-aliyun.yml +++ b/.github/workflows/deploy-1000h-portal-aliyun.yml @@ -39,6 +39,9 @@ jobs: run: yarn install - name: Build + env: + ICP_COMPANY: 北京般渡教育科技有限公司 + ICP_CODE: 京ICP备2022015741号-3 run: yarn portal:generate - uses: manyuanrong/setup-ossutil@v2.0 diff --git a/1000h-portal/components/layout/PageFooter.vue b/1000h-portal/components/layout/PageFooter.vue index 38528783..fee1bf17 100644 --- a/1000h-portal/components/layout/PageFooter.vue +++ b/1000h-portal/components/layout/PageFooter.vue @@ -1,7 +1,7 @@ @@ -15,6 +15,11 @@ export default { const year = computed(() => { return new Date().getFullYear(); }); + +const icpCompany = process.env.ICP_COMPANY +const icpCode = process.env.ICP_CODE + +