used different way of excluding cname

This commit is contained in:
The-EDev 2020-12-01 02:30:50 +03:00
parent 69a6f0ce11
commit f3ae185108

View File

@ -60,9 +60,9 @@ git config user.email "travis@travis-ci.org"
# stayed the same and will only update the changed files. So the gh-pages branch
# can be safely cleaned, and it is sure that everything pushed later is the new
# documentation.
#cp index.html ..
find . -type d,f ! -iname "CNAME" -delete
#mv ../index.html .
cp CNAME ..
rm -rf *
mv ../CNAME .
# Copy the mkdocs documentation to the work directory and generate the mkdocs
# 'site' directory