some help changes and added link to the generated doc after generation completed

pr
Override-6 2 years ago
parent 8cb109d7c5
commit 8676d1f7a3

@ -10,7 +10,7 @@ help() {
usage: $0
-d --dir [dir] path to the documentation root - required
-t --type [docusaurus|doxygen|swagger] type of documentation generator to use. - required
-l --dest [dir] path to where to put the documentation outputs in your CodeDoc space - optional !! cannot be absolute !!
-l --dest [dir] path to where to put the documentation outputs in your repository's CodeDoc space - optional !! cannot be absolute !!
EOF
exit 1
}
@ -61,3 +61,5 @@ rsync -avz \
--rsync-path="mkdir -p \"$SERVER_TARGET\" && rsync" \
-e "ssh -o StrictHostKeyChecking=no" \
--delete "$GEN_PATH"/* root@nginx:"$SERVER_TARGET"
echo "documentation generated and deployed at https://codefirst.iut.uca.fr/documentation/$DRONE_REPO_OWNER/$DRONE_REPO_NAME/$DEST/index.html"

Loading…
Cancel
Save