Files
2021-01-14 16:31:47 +05:30

15 lines
319 B
Bash
Executable File

#!/bin/bash
# Clone mermaid-js/docs parallel with the mermaid live editor.
# git clone git@github.com:mermaid-js/docs.git
# git clone https://github.com/mermaid-js/docs.git
yarn release
pushd .
cp -r docs/* ../docs/mermaid-live-editor-beta
cd ../docs
git commit * -m "Beta updated with latest changes"
git push
popd