pages compatibility for deployment

This commit is contained in:
fnetX 2022-05-18 18:42:20 +02:00
parent a829d17b10
commit 3f6c3779ad

View file

@ -7,6 +7,7 @@ rm -rf pages.git
mkdir pages.git
( cd pages.git && git init -b "$DEPLOYMENT_BRANCH" )
rsync -av _site/* pages.git/
echo "docs.codeberg.org" > pages.git/.domains
( cd pages.git && git add -A ) ## add all generated files
( cd pages.git && git commit -m "Deployment at $(date -u -Is)" ) ## commit all
( cd pages.git && git remote add origin "$DEPLOYMENT_REPO" )