Skip to content

Commit

Permalink
docs: Fix docs build. Fixes argoproj#7023 (argoproj#7024)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Oct 21, 2021
1 parent 7414573 commit 93c301d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,16 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
- uses: actions/setup-python@v1
with:
python-version: 3.x
- name: Setup Golang
uses: actions/setup-go@v1
python-version: 3.9
- uses: actions/setup-go@v1
with:
go-version: '1.16'
- name: build
run: |
pip install mkdocs==1.0.4 mkdocs_material==4.1.1
mkdocs build
make parse-examples
mkdir ./site/.circleci && echo '{version: 2, jobs: {build: {branches: {ignore: gh-pages}}}}' > ./site/.circleci/config.yml
- name: deploy
uses: peaceiris/[email protected]
- run: pip install mkdocs==1.0.4 mkdocs_material==4.1.1
- run: mkdocs build
- run: make parse-examples
- uses: peaceiris/[email protected]
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
PUBLISH_BRANCH: gh-pages
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ nav:
- argo archive delete: cli/argo_archive_delete.md
- argo archive get: cli/argo_archive_get.md
- argo archive list: cli/argo_archive_list.md
- argo archive list-label-keys: cli/argo_archive_list-label-keys.md
- argo archive list-label-values: cli/argo_archive_list-label-values.md
- argo auth: cli/argo_auth.md
- argo auth token: cli/argo_auth_token.md
- argo cluster-template: cli/argo_cluster-template.md
Expand Down

0 comments on commit 93c301d

Please sign in to comment.