projects
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ad3d97f
)
fix tracking generated HTML files
author
Ralf Jung
<post@ralfj.de>
Wed, 21 Nov 2018 08:26:20 +0000
(09:26 +0100)
committer
Ralf Jung
<post@ralfj.de>
Wed, 21 Nov 2018 08:26:20 +0000
(09:26 +0100)
personal/upload.sh
patch
|
blob
|
history
research/upload.sh
patch
|
blob
|
history
diff --git
a/personal/upload.sh
b/personal/upload.sh
index 2d9205e38214e03dec7fcaba986554b108380249..aac35c48ad2a1d20138516a14a270b297596d370 100755
(executable)
--- a/
personal/upload.sh
+++ b/
personal/upload.sh
@@
-5,9
+5,7
@@
jekyll build
cd _site
git add .
cd _site
git add .
-if ! git diff --cached; then
- # There are changes
- git commit -m "site upload"
-fi
+git diff --cached
+git commit -m "site upload"
rsync ./ www.ralfj.de:/srv/www.ralfj.de/docroot/ -aP --exclude .git
rsync ./ www.ralfj.de:/srv/www.ralfj.de/docroot/ -aP --exclude .git
diff --git
a/research/upload.sh
b/research/upload.sh
index 6832be43c8699654210aaa60026e2da4cac1a5dd..f0268be2af25c0261ef733555fc96e12eeee0ea6 100755
(executable)
--- a/
research/upload.sh
+++ b/
research/upload.sh
@@
-5,9
+5,7
@@
jekyll build
cd _site
git add .
cd _site
git add .
-if ! git diff --cached; then
- # There are changes
- git commit -m "site upload"
-fi
+git diff --cached
+git commit -m "site upload"
rsync ./ mpi-contact:public_html/ -aP --exclude .git
rsync ./ mpi-contact:public_html/ -aP --exclude .git