Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added badge for docs-deployment pipeline #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
Wsynphot
==========
**CI Build:** |CI| **Docs:** |docs|

.. image:: https://dev.azure.com/starkit/wsynphot/_apis/build/status/wsynphot-CI?branchName=master
:target: https://dev.azure.com/starkit/wsynphot/_build/latest?definitionId=1&branchName=master
.. |CI| image:: https://dev.azure.com/starkit/wsynphot/_apis/build/status/wsynphot-CI?branchName=master
:target: https://dev.azure.com/starkit/wsynphot/_build/latest?definitionId=1&branchName=master

.. |docs| image:: https://dev.azure.com/starkit/wsynphot/_apis/build/status/wsynphot-docs-CD?branchName=master
:target: https://dev.azure.com/starkit/wsynphot/_build/latest?definitionId=3&branchName=master

Installation
-------------
Expand Down
1 change: 1 addition & 0 deletions azure_pipelines/docs_deployment_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ steps:
$head = @{ Authorization = "Bearer $env:SYSTEM_ACCESSTOKEN" }
$url = "https://feeds.dev.azure.com/starkit/_apis/packaging/Feeds/cached_data/packages/70d57642-6499-490f-ac9e-15bd85f93826?api-version=5.0-preview.1"
$package = Invoke-RestMethod -Uri $url -Method Get -Headers $head -ContentType application/json
Write-Host "Fetched json (value of package) is $package"
$latestVersion = ($package.versions.Where({ $_.isLatest -eq $True })).version
Write-Host "The latest version is $latestVersion"
Write-Host "##vso[task.setvariable variable=latest_version]$latestVersion"
Expand Down