diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7aff0961..f020dd35 100755 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: repository_dispatch: - types: [update_maixpy_doc] + types: [update_maixpy_doc, update_maixcdk_doc] permissions: write-all @@ -50,9 +50,14 @@ jobs: out_dir=out`python3 -c 'import json; f=open("site_config.json");config=json.load(f);print(config["site_root_url"])'` echo "== clone MaixPy gh-pages ==" git clone https://github.com/sipeed/MaixPy --depth=1 --branch=gh-pages - echo "== copy maixpy dir to out_dir ==" + echo "== copy MaixPy dir to out_dir ==" mv MaixPy/maixpy $out_dir rm -rf MaixPy + echo "== clone MaixCDK gh-pages ==" + git clone https://github.com/sipeed/MaixCDK --depth=1 --branch=gh-pages + echo "== copy MaixCDK dir to out_dir ==" + mv MaixCDK/maixcdk $out_dir + rm -rf MaixCDK mv $out_dir ../ remote_addr=`git remote get-url --push origin` remote_addr=`echo $remote_addr| awk -F'://' '{print $2}'` diff --git a/pages/index/zh/maixcdk.md b/pages/index/zh/maixcdk.md index 40ff6207..25ae6957 100644 --- a/pages/index/zh/maixcdk.md +++ b/pages/index/zh/maixcdk.md @@ -1,6 +1,6 @@ --- title: MaixCDK -- 快速落地 AI 视觉、听觉类项目 layout: redirect -redirect_url: https://github.com/sipeed/MaixCDK +redirect_url: https://wiki.sipeed.com/maixcdk/ --- diff --git a/static/image/maixcam_pro.png b/static/image/maixcam_pro.png index 28dffd72..83620f17 100644 Binary files a/static/image/maixcam_pro.png and b/static/image/maixcam_pro.png differ