-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updates `release.yml` to perform the GitHub release, publication of the documentation, and the publication of the module to the PowerShell Gallery. - Renames `deploy.yml` to `docs.yml` and set only for manual workflow dispatch. Publication of the documentation will occur in the release unless there is a need for a manual dispatch. Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
- Loading branch information
Ryan Johnson
authored
Oct 11, 2023
1 parent
2739b6a
commit 8fce37f
Showing
3 changed files
with
104 additions
and
42 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Publish Documentation | ||
on: | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
jobs: | ||
publish-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Python | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 | ||
with: | ||
python-version: 3.x | ||
- name: Install Dependencies | ||
run: | | ||
pip install mkdocs-material | ||
pip install --requirement docs/requirements.txt | ||
- name: Publish Documentation | ||
run: | | ||
mkdocs gh-deploy --force | ||
if: ${{ success() }} |
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