Skip to content

Commit b0aa33f

Browse files
committed
Add trivial comment to index.html and gh api call for custom domain
1 parent 1602dd0 commit b0aa33f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/bonsai-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
cp -r _build/html/* bonsaibim_org_docs/
2727
printf "docs.bonsaibim.org" > bonsaibim_org_docs/CNAME
2828
touch bonsaibim_org_docs/.nojekyll
29-
echo "bonsai" > bonsaibim_org_docs/BUILDINFO
29+
sed -i 's/<\/head>/<!-- Bonsai -->\n<\/head>/' bonsaibim_org_docs/index.html
3030
git -C bonsaibim_org_docs add .
3131
git -C bonsaibim_org_docs commit -m "Build"
3232
git -C bonsaibim_org_docs push
33+
gh api repos/IfcOpenShell/bonsaibim_org_docs/pages --method PUT --field custom_domain="docs.bonsaibim.org"

0 commit comments

Comments
 (0)