Skip to content

Commit

Permalink
Merge pull request #28 from ken4647/master
Browse files Browse the repository at this point in the history
fix problem for cname setup
  • Loading branch information
ken4647 authored Jan 2, 2025
2 parents cc2d87d + d393f03 commit 949af65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
git config user.name "Deploy from CI"
git config user.email ""
cd gh-pages
# set up cname for custom domain
echo "$CUSTOM_DOMAIN" > CNAME
# Delete the ref to avoid keeping history.
git update-ref -d refs/heads/gh-pages
rm -rf *
# set up cname for custom domain
echo "$CUSTOM_DOMAIN" > CNAME
mv ../book/html/* .
git add .
git commit -m "Deploy $GITHUB_SHA to gh-pages"
Expand Down

0 comments on commit 949af65

Please sign in to comment.