Fix error on missing existing group #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish automatically generated documentation to wiki | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
name: Publish wiki | |
runs-on: ubuntu-latest | |
container: mcr.microsoft.com/powershell:7.4-ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# - name: Generate default alert rule documentation | |
# run: ./misc/GenerateDefaultAlertDocMd.ps1 -OutPath ./wiki/default-alert-rules.md | |
# shell: pwsh | |
# - name: Generate documentation | |
# run: ./misc/GenerateModuleDocumentation.ps1 -OutPath ./wiki/ | |
# shell: pwsh | |
# - name: Upload documentation to wiki | |
# uses: docker://decathlon/wiki-page-creator-action:2.0.1 | |
# env: | |
# ACTION_MAIL: [email protected] | |
# ACTION_NAME: CI | |
# GH_PAT: ${{ secrets.GH_PAT }} | |
# MD_FOLDER: wiki | |
# OWNER: by-pinja | |
# REPO_NAME: Pinja.Azure.Alerts | |
- name: Install curl | |
run: apt update && apt install curl -y | |
shell: bash | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '8.0' | |
- name: Publish to PS gallery | |
env: | |
NUGET_KEY: ${{ secrets.NUGET_KEY }} | |
shell: pwsh | |
run: .\Publish.ps1 -NuGetApiKey $env:NUGET_KEY -Verbose |