kopia lustrzana https://github.com/espressif/esp-idf
docs ci: Ensure deploy directory exists
rodzic
966f4227ad
commit
f906095789
|
@ -74,6 +74,7 @@ push_to_github:
|
|||
cd docs/_build/$DOCLANG/$DOCTGT
|
||||
mv html $GIT_VER
|
||||
tar czf $GIT_VER.tar.gz $GIT_VER
|
||||
ssh $DOCS_SERVER -x "mkdir -p $DOCS_PATH/$DOCLANG/$DOCTGT"
|
||||
scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/$DOCLANG/$DOCTGT
|
||||
ssh $DOCS_SERVER -x "cd $DOCS_PATH/$DOCLANG/$DOCTGT && tar xzf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
|
||||
cd -
|
||||
|
|
Ładowanie…
Reference in New Issue