Browse Source

will this finally work?

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

+ 2
- 3
appveyor.yml View File

@ -80,11 +80,10 @@ before_deploy:
{ # Copy current site into tags
cd origin_site # make things a bit easier
$source = Get-Location
$tagPath = Join-Path $source "tags/$env:APPVEYOR_REPO_TAG_NAME"
New-Item -ItemType directory -Path $tagPath
Get-ChildItem $source -Recurse -Exclude @('.git','tags/*','tags') | Copy-Item -Destination {Join-Path $tagPath $_.FullName.Substring($source.length)}
Copy-Item -Path (Get-ChildItem -Exclude ('.git','tags')).FullName -Destination $tagPath -Recurse
git add -A 2>&1
git commit -q -a -m "Saved tag $env:APPVEYOR_REPO_TAG_NAME" 2>&1
}


Loading…
Cancel
Save