blob: 07e2c5561d62958deade2d05e04f86ed223ed612 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/bash
builddir=$1
destdir=$2
git clone git@github.com:OSGeo/proj.4.git $destdir/projdocs
cd $destdir/projdocs
git checkout gh-pages
cd $builddir/html
cp -rf * $destdir/projdocs
cp $builddir/latex/proj.pdf $destdir/projdocs
cd $destdir/projdocs
git config user.email "proj4bot@proj4.bot"
git config user.name "proj.4 deploybot"
git add -A
git commit -m "update with results of commit https://github.com/OSGeo/proj.4/commit/$TRAVIS_COMMIT"
git push origin gh-pages
|