Miscellaneous

Publish Docusaurus(v1) site:

From website/ directory:

GIT_USER=USERNAME CURRENT_BRANCH=master USE_SSH=true npm run publish-gh-pages # SSH
# or
GIT_USER=USERNAME CURRENT_BRANCH=master npm run publish-gh-pages # HTTPS

Publish Docusaurus(v2) site:

GIT_USER=USERNAME CURRENT_BRANCH=master USE_SSH=true yarn deploy # SSH
# or
GIT_USER=USERNAME CURRENT_BRANCH=master yarn deploy # HTTPS

Miscellaneous