Skip to content

Commit

Permalink
changed tag code to hopefully behave
Browse files Browse the repository at this point in the history
  • Loading branch information
nike4613 committed Jun 13, 2019
1 parent 350143d commit b5a8908
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5a8908

Please sign in to comment.