Skip to content

Commit

Permalink
fix: gh-actions for doc versioning (intel-retail#504)
Browse files Browse the repository at this point in the history
* fix: gh-actions for doc versioning

Signed-off-by: Neethu Elizabeth Simon <[email protected]>
---------

Signed-off-by: Neethu Elizabeth Simon <[email protected]>
  • Loading branch information
NeethuES-intel authored Feb 20, 2024
1 parent 2f6808a commit 7374a7b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
paths:
- docs_src/**
# pull_request:
# The branches below must be a subset of the branches above
# branches: [ "main" ]
jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -20,5 +23,10 @@ jobs:
pip install mkdocs-material
pip install mkdocs-swagger-ui-tag
pip install mike
- name: Configure Git user
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Deploy
run: mkdocs gh-deploy --force --clean --verbose
run: mike deploy latest

0 comments on commit 7374a7b

Please sign in to comment.