mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
pages compatibility for deployment
This commit is contained in:
parent
a829d17b10
commit
3f6c3779ad
1 changed files with 1 additions and 0 deletions
|
|
@ -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" )
|
||||
|
|
|
|||
Loading…
Reference in a new issue