Skip to content

Commit

Permalink
Add pkgcloud upload to CI - Fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspustina committed Feb 5, 2020
1 parent c7d7e60 commit 0b6816e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ stages:
- job: 'Publish_To_PackageCloud'
displayName: "Publish to PackageCloud - CenterDevice"
# condition: startsWith(variables['build.sourceBranch'], 'refs/tags/')
variables:
PACKAGECLOUD_TOKEN: $(PACKAGECLOUD_API_TOKEN_CENTERDEVICE)
steps:
- task: UseRubyVersion@0
inputs:
Expand All @@ -228,7 +230,5 @@ stages:
targetPath: '$(Build.ArtifactStagingDirectory)'
displayName: "Download Debian Package"
- script: package_cloud push centerdevice/infrastructure/ubuntu/bionic "$BUILD_ARTIFACTSTAGINGDIRECTORY/*bionic*.deb"
variables:
PACKAGECLOUD_TOKEN: $(PACKAGECLOUD_API_TOKEN_CENTERDEVICE)
displayName: 'Upload Debian Package to PackageCloud'

0 comments on commit 0b6816e

Please sign in to comment.