diff --git a/appveyor.yml b/appveyor.yml index 8c67cca5..c5d535d8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -90,18 +90,15 @@ before_deploy: if ($env:APPVEYOR_REPO_TAG -eq "true") { # Copy current site into tags - & Do-DocFX -o origin_site/tags + & Do-DocFX & Git-Do cd origin_site # make things a bit easier $tagPath = "tags/$env:APPVEYOR_REPO_TAG_NAME" - New-Item -ItemType directory -Path $tagPath - #Copy-Item -Path (Get-ChildItem -Exclude ('.git','tags')).FullName -Destination $tagPath -Recurse - #pushd .. - #popd - Move-Item tags/_site $tagPath + #New-Item -ItemType directory -Path $tagPath + Move-Item ../_site $tagPath git add -A 2>&1 git commit -q -a -m "Saved tag $env:APPVEYOR_REPO_TAG_NAME" 2>&1