Skip to content

Commit

Permalink
Fix doc deployment workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Jul 4, 2023
1 parent 79d0de9 commit dbc303b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ jobs:
with:
python-version: 3.x

- name: Export tag version
run: |
export RELEASE_TAG_VERSION=${{ github.event.release.tag_name }}
echo "RELEASE_TAG_VERSION=${RELEASE_TAG_VERSION}" >> $GITHUB_ENV
- name: Setup doc deploy
run: |
git config --global user.name Docs deploy
Expand All @@ -29,7 +24,7 @@ jobs:
run: pip install mkdocs-material mkdocs-include-markdown-plugin mike

- name: deploy docs
run: mike deploy --push -m "Update docs to version ${RELEASE_TAG_VERSION}" --update-aliases ${RELEASE_TAG_VERSION} latest
run: mike deploy --push -m "Update docs to version ${{ github.ref_name }}" --update-aliases ${{ github.ref_name }} latest

- name: Set latest as default doc branch
run: mike set-default --push latest

0 comments on commit dbc303b

Please sign in to comment.