Created
May 21, 2020 09:40
-
-
Save kaushalvivek/e1668f1c09512c4c5affc73559a2cd07 to your computer and use it in GitHub Desktop.
Deploying Hexo Without Node Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm use 13.1.0 | |
hexo generate | |
hexo clean | |
hexo deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment