Solidground / Floorplanner / Groundwork main project website. https://solidground.work
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
solidgroundwork/build.sh

18 lines
369 B

#!/usr/bin/env bash
rm -rf pages.git _site
jekyll build
REPO=${1:-git@codeberg.org:solidground/solidgroundwork}
DATE=$(date -u -Is)
git clone $REPO pages.git
rsync -av _site/* pages.git/
cd pages.git &&
git checkout --orphan current &&
git add -A &&
git commit -m "Deployment at $DATE" &&
git branch -m pages &&
git push -f origin pages &&
cd .. &&
rm -rf pages.git