mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-09-11 00:22:49 -05:00
update build all ci
This commit is contained in:
5
.github/workflows/publish_upload_all.yml
vendored
5
.github/workflows/publish_upload_all.yml
vendored
@@ -40,6 +40,11 @@ jobs:
|
||||
teedoc build
|
||||
echo "== build complete =="
|
||||
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 =="
|
||||
mv MaixPy/maixpy $out_dir
|
||||
rm -rf MaixPy
|
||||
mv $out_dir ../
|
||||
remote_addr=`git remote get-url --push origin`
|
||||
remote_addr=`echo $remote_addr| awk -F'://' '{print $2}'`
|
||||
|
||||
Reference in New Issue
Block a user