mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-07-16 16:50:46 +08:00
Remove the docfx.console.2.24.0 folder to ensure it's not added to the published site
This commit is contained in:
parent
3309638afd
commit
150e10dbd5
@ -23,8 +23,9 @@ after_build:
|
|||||||
git config --global user.email $env:op_build_user_email
|
git config --global user.email $env:op_build_user_email
|
||||||
git config --global user.name $env:op_build_user
|
git config --global user.name $env:op_build_user
|
||||||
git clone https://github.com/openiddict/openiddict-documentation.git -b gh-pages origin_site -q
|
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
|
CD _site
|
||||||
|
Remove-Item docfx.console.2.24.0 -Force -Recurse
|
||||||
git add -A 2>&1
|
git add -A 2>&1
|
||||||
git commit -m "Update the documentation pages" -q
|
git commit -m "Update the documentation pages" -q
|
||||||
git push origin gh-pages -q
|
git push origin gh-pages -q
|
||||||
|
Loading…
Reference in New Issue
Block a user