Merge pull request #109 from maester365/merill-wb #104
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
# Regenerates the documentation for the "Command Reference" section of the site https://maester.dev | |
name: build-docs | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["main"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow updates to the repository | |
permissions: | |
contents: write | |
id-token: write | |
checks: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update docs | |
run: ./build/Update-CommandReference.ps1 | |
shell: pwsh | |
- name: Create PR to update repo | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
title: Update maester.dev command reference |