Warm tip: This article is reproduced from stackoverflow.com, please click
azure-devops frontend static-site azure-repos

Show front-end UI from Azure Repos (Github Pages equivalent)

发布于 2020-04-05 00:24:59

I was recently told by my IT department that I can't use Github as a code repository, so I'm using Azure Repos in Azure Devops.

I am primarily a designer, and my only usage for Github was to render HTML, CSS, and Javascript as a working prototype in Github Pages that can be shared to anyone with an internet connection.

I am not at all familiar with Azure DevOps or Azure Repos, is there any way to show my front end code as a generated page using Azure? Would I have to use something like Jekyll or Hugo?

Questioner
WushuDrew
Viewed
86
Lance Li-MSFT 2020-02-03 16:19

Is there any way to show my front end code as a generated page using Azure? Would I have to use something like Jekyll or Hugo?

Displaying the front-end UI directly in Azure Repos is still a not-supported scenario for now.

Azure Repos in Azure Devops Service supports Git and TFVC version control system to manage the code. But it doesn't mean it supports same functions like Github, at least Azure Repos itself doesn't have the feature to render HTML, CSS, and Javascript and display the front-end UI.

Also, I checked the Azure Devops extensions here and didn't find one extension that meet your needs. So I think what you want is now not supported for Azure Repos. You may use the Azure Repos to host the HTML, CSS, and Javascript files like what Github repos do, clone it locally and use third-party tool to display the UI when necessary.

Also, you may post a feature request with details about what you want with Azure Devops Repos here. If it gets enough votes, the team would consider it seriously! Hope all above helps :)