File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ jobs:
2323 git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/bonsaibim_org_docs
2424 git -C bonsaibim_org_docs checkout -B main
2525 # Save CNAME before clearing repo - needed for GitHub Pages custom domain
26- cp bonsaibim_org_docs/CNAME /tmp/CNAME || true
26+ cp bonsaibim_org_docs/CNAME /tmp/CNAME || echo "docs.bonsaibim.org" > /tmp/CNAME
2727 rm -rf bonsaibim_org_docs/*
2828 cp -r _build/html/* bonsaibim_org_docs/
29- cp /tmp/CNAME bonsaibim_org_docs/CNAME || true
29+ cp /tmp/CNAME bonsaibim_org_docs/CNAME
3030 touch bonsaibim_org_docs/.nojekyll
3131 git -C bonsaibim_org_docs add .
3232 git -C bonsaibim_org_docs commit -m "Build"
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/ifcopenshell_org_docs
2525 git -C ifcopenshell_org_docs checkout -B main
2626 # Save CNAME before clearing repo - needed for GitHub Pages custom domain
27- cp ifcopenshell_org_docs/CNAME /tmp/CNAME || true
27+ cp ifcopenshell_org_docs/CNAME /tmp/CNAME || echo "docs.ifcopenshell.org" > /tmp/CNAME
2828 rm -rf ifcopenshell_org_docs/*
2929 cp -r _build/html/* ifcopenshell_org_docs/
30- cp /tmp/CNAME ifcopenshell_org_docs/CNAME || true
30+ cp /tmp/CNAME ifcopenshell_org_docs/CNAME
3131 touch ifcopenshell_org_docs/.nojekyll
3232 git -C ifcopenshell_org_docs add .
3333 git -C ifcopenshell_org_docs commit -m "Build"
You can’t perform that action at this time.
0 commit comments