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.

20 lines
496 B

#!/bin/bash -ex
# This script is derived from in Codeberg Documentation by The Codeberg Documentation Contributors,
# under CC-BY-SA 4.0,
npm run build
if [ ! -d pages.git ]; then
mkdir pages.git && cd pages.git
git init && git remote add origin ""
cd ..
rsync -av _site/* pages.git/
cd pages.git
git add -A
git commit -am "Deployment at $(date -u -Is)"
git push origin main -f