Skip to content

Commit

Permalink
add CNAME
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Jul 25, 2022
1 parent e4285be commit 5b58524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/user_guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Deploy GitHub Pages
run: |
# This assumes your book is in the root of your repository.
# Just add a `cd` here if you need to change to another directory.
cd docs/user-guide
mdbook build
git worktree add gh-pages gh-pages
Expand All @@ -34,6 +32,8 @@ jobs:
git update-ref -d refs/heads/gh-pages
rm -rf *
mv ../book/* .
# Add custom domain
echo "docs.ceresdb.io" > CNAME
git add .
git commit -m "Deploy $GITHUB_SHA to gh-pages"
git push --force

0 comments on commit 5b58524

Please sign in to comment.