Created scripts for automatic deployment
This commit is contained in:
3
_scripts/build.sh
Normal file
3
_scripts/build.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
bundle exec jekyll build --config _config.yml
|
4
_scripts/deploy_website.sh
Normal file
4
_scripts/deploy_website.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo "Uploading"
|
||||
cd _site || exit
|
||||
lftp -p 21 -u $CU_USR,$CU_PASSWORD $CU_HOSTNAME -e "set ftp:ssl-allow no; mirror -R . $CU_DIR; bye"
|
Reference in New Issue
Block a user