Skip to content

Commit

Permalink
Merge pull request #23 from nkdAgility/topic/update-wiki0from-docs
Browse files Browse the repository at this point in the history
Topic/update wiki0from docs
  • Loading branch information
MrHinsh authored Jul 1, 2024
2 parents e1712ab + 9c85401 commit b9b81ef
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
Setup:
name: Setup
name: "Setup & Configuration"
runs-on: ubuntu-latest
outputs:
GitVersion_BranchName: ${{ steps.gitversion.outputs.GitVersion_BranchName }}
Expand All @@ -28,6 +28,7 @@ jobs:
with:
useConfigFile: true
build:
name: "Build & Test"
runs-on: ubuntu-latest
needs: Setup
steps:
Expand All @@ -54,8 +55,22 @@ jobs:
with:
name: AzureDevOpsWorkItemClone
path: ./output/*


Wiki:
name: "Release to GitHub Wiki"
runs-on: ubuntu-latest
needs: [build, Setup]
if: ${{ success() && ( needs.Setup.outputs.GitVersion_PreReleaseLabel == 'Preview' || needs.Setup.outputs.GitVersion_PreReleaseLabel == '' ) }}
steps:
- uses: actions/checkout@v3
- uses: spenserblack/actions-wiki@<version>
with:
# Whatever directory you choose will be mirrored to the GitHub
# .wiki.git. The default is .github/wiki.
path: docs

release:
name: "Release to GitHub Releases"
runs-on: ubuntu-latest
needs: [build, Setup]
if: ${{ success() && ( needs.Setup.outputs.GitVersion_PreReleaseLabel == 'Preview' || needs.Setup.outputs.GitVersion_PreReleaseLabel == '' ) }}
Expand Down

0 comments on commit b9b81ef

Please sign in to comment.