Skip to content

Commit a33a01c

Browse files
committed
Added processing to set CNAME at deploying GitHub page contents
1 parent c10ab75 commit a33a01c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/deploy_gh_pages.sh

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ cd gh-pages
2424
rm -fR * ./circleci
2525
cp -r ../docs/public/* ./
2626

27+
# set custom domain for the GitHub Pages of this repository
28+
echo ${GH_CUSTOM_DOMAIN} > CNAME
29+
2730
# commit to remote repository on the gh-pages branch
2831
git add .
2932
git commit -m "Updates gh-pages because of updating the master branch."

0 commit comments

Comments
 (0)