Skip to content

Commit

Permalink
Add multi pkgcloud and crates.io upload to CI - Fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspustina committed Feb 5, 2020
1 parent 9da1bd2 commit 2fbc1ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,10 @@ stages:
matrix:
centerdevice:
package_cloud_token: $(PACKAGECLOUD_API_TOKEN_CENTERDEVICE)
package_cloud_repo: centerdevice/infrastructure
lukas:
package_cloud_token: $(variables.PACKAGECLOUD_API_TOKEN_LUKAS)
package_cloud_repo: lukaspustina/opensource
steps:
- task: UseRubyVersion@0
inputs:
Expand All @@ -235,10 +237,11 @@ stages:
displayName: "Download Debian Package"
- script: |
ls -al $BUILD_ARTIFACTSTAGINGDIRECTORY && \
package_cloud push centerdevice/infrastructure/ubuntu/bionic ${BUILD_ARTIFACTSTAGINGDIRECTORY}/*.deb
package_cloud push ${PACKAGECLOUD_REPO}/ubuntu/bionic ${BUILD_ARTIFACTSTAGINGDIRECTORY}/*.deb
displayName: 'Upload Debian Package to PackageCloud'
env:
PACKAGECLOUD_TOKEN: $(package_cloud_token)
PACKAGECLOUD_REPO: $(package_cloud_repo)
- job: 'Publish_To_Crates_Io'
displayName: "Publish to crates.io"
steps:
Expand Down

0 comments on commit 2fbc1ee

Please sign in to comment.