-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 2829-delete-review-vms-on-cancel
- Loading branch information
Showing
11 changed files
with
74 additions
and
35 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,21 +1,39 @@ | ||
--- | ||
name: Publish docs via Github Pages | ||
|
||
on: # yamllint disable-line rule:truthy | ||
name: Deploy Documentation | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
push: | ||
branches: [main] | ||
paths: | ||
- 'docs/**' | ||
|
||
- mkdocs.yml | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
name: Deploy docs | ||
deploy: | ||
name: Deploy Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout main | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: true | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- run: pip install -r docs/requirements.txt | ||
- run: mkdocs gh-deploy --strict --force | ||
- name: Install Dependencies | ||
run: | | ||
pip install -r docs/requirements.txt | ||
- name: Configure Git User | ||
# Required by mike for the commit it does to the gh-pages branch | ||
run: | | ||
git config user.name "ci-docs" | ||
git config user.email "ci-docs@dummy.com" | ||
- name: Deploy the latest documents from new release | ||
if: ${{ github.event_name == 'release' }} | ||
run: mike deploy --push --update-aliases "${GITHUB_REF#refs/*/}" latest-release | ||
- name: Deploy the development docs | ||
if: ${{ github.event_name != 'release' }} | ||
run: mike deploy --push develop |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ mkdocs | |
mkdocs-material | ||
mkdocs-material-extensions | ||
mkdocstrings | ||
mike |
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
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
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
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
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
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
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
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
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