From ae03471a55344cae1878f9925ee10348bbc0626c Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Tue, 11 Jun 2019 19:22:59 -0500 Subject: [PATCH] changed to get-location --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 29cd60b1..649edc14 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -80,8 +80,8 @@ before_deploy: { # Copy current site into tags 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 Get-ChildItem $source -Recurse -Exclude @('.git','tags/*','tags') | Copy-Item -Destination {Join-Path $tagPath $_.FullName.Substring($source.length)}