1. Virtual Machine Ubuntu 20.04LTS (Azure, GCP, AWS, Aliyun, etc)
2. 16GB RAM
3. 512 GB Storage
4. One disk add for PV
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/zsh | |
vared -p "Enter commit message: " -c message | |
printf "\e[33m\nBuilding project...\e[39m\n" | |
hugo -d ../YOUR_GITHUB_USERNAME.github.io | |
printf "\\e[33m\nPushing to YOUR_GITHUB_USERNAME.github.io repository...\e[39m\n\n" | |
cd ../YOUR_GITHUB_USERNAME.github.io | |
git add . |