blob: 851ba1d5674837191d9b11cad0db13adab27013f [file] [log] [blame]
#!/bin/bash
SITE_REPO=github.com/apache/aries-site-pub.git
npm run plain-install
rm -rf build
#mkdir -p build/site
# clone the aries-site-pub repo
(
git clone --depth 1 https://$SITE_REPO build/site
cd build/site
pwd
ls
git rm -r .
)
npm run build-noclean
(
cd build/site
git add .
echo `git commit -m "site build"`
git push https://${user}:${password}$SITE_REPO master
)