blob: 70f2e86714737305a51dedb7abd0da1a3c005b65 [file] [log] [blame]
#!/bin/bash
WORKDIR=/tmp/incubator-ariatosca-site
rm -rf $WORKDIR
mkdir -p $WORKDIR
bundle exec jekyll build --destination $WORKDIR $WORKDIR
git checkout asf-site
git clean -f -d
git pull origin asf-site
rm -rf *
cp -a $WORKDIR/* .
git add .
git commit -m "Automatic Site Publish by Buildbot"
git push origin asf-site