Remove the docfx.console.2.24.0 folder to ensure it's not added to the published site

This commit is contained in:
Kévin Chalet 2017-09-25 16:37:42 +02:00
parent 3309638afd
commit 150e10dbd5

View File

@ -23,8 +23,9 @@ after_build:
git config --global user.email $env:op_build_user_email
git config --global user.name $env:op_build_user
git clone https://github.com/openiddict/openiddict-documentation.git -b gh-pages origin_site -q
Copy-Item origin_site/.git _site -recurse
Copy-Item origin_site/.git _site -Recurse
CD _site
Remove-Item docfx.console.2.24.0 -Force -Recurse
git add -A 2>&1
git commit -m "Update the documentation pages" -q
git push origin gh-pages -q