From ed2eaa84a42f03d1639d3686ddebfe6294fd7ee8 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Thu, 13 Jun 2019 13:57:10 -0500 Subject: [PATCH] changed tag code to hopefully behave --- appveyor.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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