Add the deploy script

Dac update too
This commit is contained in:
Grey-Echo
2017-05-03 18:04:41 +02:00
parent be983ccbd5
commit 0deab0c625
9 changed files with 24 additions and 10 deletions

5
Utils/Deploy.sh Normal file
View File

@@ -0,0 +1,5 @@
cd slate
git add -A
git commit -a -m "Doc Update"
git push
./deploy.sh

View File

@@ -1,3 +1,4 @@
@echo off
:: Generate the Markdown doc
"./bin/SlateDocGenerator2.exe" "../../../MOOSE/Moose Development/Moose" ../../../slate/source
@@ -10,5 +11,6 @@ rmdir /s /q "./bin/TEMP"
robocopy ../../docs/Presentations ../../../slate/source/includes/Pictures /MIR /NJH /NJS
:: Deploy the Slate documentation
"C:\Program Files\Git\bin\bash.exe" --login -i -c "cd slate | git commit -a -m "Doc Update" | ./deploy.sh"
echo A shell will open. To deploy the Slate website, please run the following command. Otherwise, simply close the shell.
echo $ Moose/Utils/Deploy.sh
%localappdata%\GitHub\GitHub.appref-ms --open-shell