diff --git a/deploy.cmd b/deploy.cmd deleted file mode 100644 index 3f85c57..0000000 --- a/deploy.cmd +++ /dev/null @@ -1,3 +0,0 @@ -@echo off - -start C:\bin\cygwin\bin\mintty.exe /bin/bash -l -c "rsync --delete -avz -e ""ssh -i /cygdrive/c/www/ms1_deploy_key -p 2222"" --progress /cygdrive/c/www/m6/code/wwwroot www-data@ms1.ivysaur.me:~/code.ivysaur.me/" diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..3d8a258 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +rsync --delete -avz -e "ssh -i /cygdrive/c/www/ms1_deploy_key -p 2222" --progress /cygdrive/c/www/m6/code/wwwroot www-data@ms1.ivysaur.me:~/code.ivysaur.me/ + +# n.b. set chmod -R a+rX remote side? + +read -p "Press any key to continue..." diff --git a/rebuild.cmd b/rebuild.cmd index 1b00a35..5b20511 100644 --- a/rebuild.cmd +++ b/rebuild.cmd @@ -1,7 +1,5 @@ @echo off -set PHP=C:\bin\php54\php.exe - echo Cleaning target directory... echo. rmdir /s /q wwwroot @@ -11,10 +9,10 @@ copy static\* wwwroot echo Building pages... echo. -start /b %PHP% rebuild.php 4 0 -start /b %PHP% rebuild.php 4 1 -start /b %PHP% rebuild.php 4 2 -start /b %PHP% rebuild.php 4 3 -start /b %PHP% rebuild.php 4 4 +start /b php rebuild.php 4 0 +start /b php rebuild.php 4 1 +start /b php rebuild.php 4 2 +start /b php rebuild.php 4 3 +start /b php rebuild.php 4 4 pause \ No newline at end of file