mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-09-11 00:22:49 -05:00
update for maixcdk
This commit is contained in:
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
@@ -13,7 +13,7 @@ on:
|
|||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [update_maixpy_doc]
|
types: [update_maixpy_doc, update_maixcdk_doc]
|
||||||
|
|
||||||
permissions: write-all
|
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"])'`
|
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 =="
|
echo "== clone MaixPy gh-pages =="
|
||||||
git clone https://github.com/sipeed/MaixPy --depth=1 --branch=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
|
mv MaixPy/maixpy $out_dir
|
||||||
rm -rf MaixPy
|
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 ../
|
mv $out_dir ../
|
||||||
remote_addr=`git remote get-url --push origin`
|
remote_addr=`git remote get-url --push origin`
|
||||||
remote_addr=`echo $remote_addr| awk -F'://' '{print $2}'`
|
remote_addr=`echo $remote_addr| awk -F'://' '{print $2}'`
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: MaixCDK -- 快速落地 AI 视觉、听觉类项目
|
title: MaixCDK -- 快速落地 AI 视觉、听觉类项目
|
||||||
layout: redirect
|
layout: redirect
|
||||||
redirect_url: https://github.com/sipeed/MaixCDK
|
redirect_url: https://wiki.sipeed.com/maixcdk/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 252 KiB |
Reference in New Issue
Block a user