Browse Source

changed to get-location

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

+ 2
- 2
appveyor.yml View File

@ -80,8 +80,8 @@ before_deploy:
{ # Copy current site into tags { # Copy current site into tags
cd origin_site # make things a bit easier cd origin_site # make things a bit easier
$tagPath = "tags/$env:APPVEYOR_REPO_TAG_NAME"
$source = "."
$source = Get-Location
$tagPath = Join-Path $source "tags/$env:APPVEYOR_REPO_TAG_NAME"
New-Item -ItemType directory -Path $tagPath New-Item -ItemType directory -Path $tagPath
Get-ChildItem $source -Recurse -Exclude @('.git','tags/*','tags') | Get-ChildItem $source -Recurse -Exclude @('.git','tags/*','tags') |
Copy-Item -Destination {Join-Path $tagPath $_.FullName.Substring($source.length)} Copy-Item -Destination {Join-Path $tagPath $_.FullName.Substring($source.length)}


Loading…
Cancel
Save