ManualDeploy.ps1
ASCII text
1
python build.py cb-pages
2
$pagesbranchexists = (git branch --list pages) -Eq $null
3
if ($pagesbranchexists) {
4
git branch -D pages
5
}
6
git switch --orphan pages
7
ls | grep -v build | rm -r -fo
8
mv build/* .
9
git add .
10
git commit -m "Pages Build & Deploy"
11
git push codeberg pages -f
12
git push roundabout pages -f
13