mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Attempt to fix the build script
This commit is contained in:
parent
a06a2941a1
commit
a2c349eac7
1 changed files with 10 additions and 1 deletions
11
appveyor.yml
11
appveyor.yml
|
@ -44,11 +44,20 @@ skip_commits:
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- ps: |
|
- ps: |
|
||||||
If($env:Deploy -eq 'true')
|
$deployBranches =
|
||||||
|
"feature/v4",
|
||||||
|
"develop",
|
||||||
|
"master";
|
||||||
|
|
||||||
|
If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -NotMatch '!build')
|
||||||
{
|
{
|
||||||
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
Get-ChildItem .\*.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
Get-ChildItem .\*.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
}
|
}
|
||||||
|
Else
|
||||||
|
{
|
||||||
|
Write-Output "No Deployment"
|
||||||
|
}
|
||||||
|
|
||||||
#cache:
|
#cache:
|
||||||
#- '%USERPROFILE%\.nuget\packages'
|
#- '%USERPROFILE%\.nuget\packages'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue