Browse Source

changed tag code to hopefully behave

pull/13/head 3.12.22
Anairkoen Schno 5 years ago
parent
commit
b5a8908c64
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      appveyor.yml

+ 3
- 6
appveyor.yml View File

@ -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


Loading…
Cancel
Save