Skip to content

How to use single file wiki updater to publish release notes into sub-folder #950

Answered by rfennell
dion-snow asked this question in Q&A
Discussion options

You must be logged in to vote

The local path is just where the temporary clone of the wiki repo is stored.

This is a sample block of YAML for adding a folder to contain a file, the key is the filename. If it includes a path that will be created if it is already not present

- task: richardfennellBM.BM-VSTS-WIKIUpdater-Tasks-DEV.WikiUpdaterTask.WikiUpdaterTask@1
   displayName: 'Git based WIKI Updater - GitHub folder'
   inputs:
        repo: github.com/rfennell/demorepo.wiki
        filename: TestFolder/PageFromWikiUpdater.md
        contents: |
            Header
             ---
            Some text
             ---
             Footer
       message: 'Update from Release - $(Release.ReleaseName)'
       gitname: bu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dion-snow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants