#!/bin/bash | |
mvn clean process-resources | |
git checkout asf-site | |
git clean -f -d | |
git pull origin asf-site | |
find ./* -type d | grep -v target | grep -v .git | grep -v apidocs | xargs rm -rf | |
cp -rf target/content/* ./ | |
rm -rf target | |
git add . | |
git commit -m "Site + Apidocs Maven Publish" | |
git push origin asf-site |