An internal font hosting site for Codeberg
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.
 
 
 
 

18 lines
421 B

#!/bin/bash -ex
# This script is derived from deploy.sh in Codeberg Documentation by The Codeberg Documentation Contributors,
# under CC-BY-SA 4.0, https://creativecommons.org/licenses/by-sa/4.0/deed.en
npm run build
if [ ! -d pages.git ]; then
git clone git@codeberg.org:codeberg-fonts/pages.git pages.git
fi
rsync -av _site/* pages.git/
cd pages.git
git add -A
git commit -am "deployment"
git push origin main