ansible/roles/fedora-docs/build/files/docs-sync

14 lines
277 B
Text
Raw Normal View History

2014-12-12 19:42:48 +00:00
#!/bin/sh
if [ ! -d /srv/web/docs ]
then
echo "/srv/web/docs missing"
cd /srv/web
git clone git://git.fedorahosted.org/docs/web.git docs
fi
cd /srv/web/docs
git reset -q --hard
git pull -q