-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the linting issue reported during Redhat upload --------- Co-authored-by: [email protected]
- Loading branch information
1 parent
ec6d32c
commit ba642e9
Showing
28 changed files
with
609 additions
and
330 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 |
---|---|---|
|
@@ -21,27 +21,27 @@ jobs: | |
|
||
name: generate documenation source files | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
- name: setup python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: install document generation requirements | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install ansible | ||
python -m pip install ansible-doc-extractor | ||
python -m pip install sphinx | ||
python -m pip install sphinx_rtd_theme | ||
python -m pip install --upgrade myst-parser | ||
- name: run document generator script | ||
run: | | ||
bash devops/bin/gen_doc.sh | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: hmc-doc-artifact | ||
path: ./docs/build | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
- name: setup python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: install document generation requirements | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install ansible | ||
python -m pip install ansible-doc-extractor | ||
python -m pip install sphinx | ||
python -m pip install sphinx_rtd_theme | ||
python -m pip install --upgrade myst-parser | ||
- name: run document generator script | ||
run: | | ||
bash devops/bin/gen_doc.sh | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: hmc-doc-artifact | ||
path: ./docs/build | ||
|
||
deploy-doc: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -54,19 +54,19 @@ jobs: | |
pages: write | ||
|
||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: hmc-doc-artifact | ||
path: . | ||
- uses: actions/configure-pages@v4 | ||
with: | ||
#User need to set this secret on github actions | ||
token: ${{ secrets.TOKEN_PAM }} | ||
enablement: true | ||
- uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: . | ||
- id: deployment | ||
uses: actions/deploy-pages@v3 | ||
with: | ||
token: ${{ secrets.TOKEN_PAM }} | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: hmc-doc-artifact | ||
path: . | ||
- uses: actions/configure-pages@v4 | ||
with: | ||
# User need to set this secret on github actions | ||
token: ${{ secrets.TOKEN_PAM }} | ||
enablement: true | ||
- uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: . | ||
- id: deployment | ||
uses: actions/deploy-pages@v3 | ||
with: | ||
token: ${{ secrets.TOKEN_PAM }} |
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
Oops, something went wrong.