mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
ci: steps renamed in a documentation action
This commit is contained in:
4
.github/workflows/documentation.yml
vendored
4
.github/workflows/documentation.yml
vendored
@ -75,11 +75,11 @@ jobs:
|
||||
- name: Installing pip dependencies
|
||||
run: |
|
||||
pip install conan mkdocs-material mkdocs-rss-plugin mkdocs-material[imaging] mkdocs-exclude mike
|
||||
- name: Building docs
|
||||
- name: Building docs for a released version
|
||||
if: startsWith(github.event.ref, 'refs/tags/v')
|
||||
run: |
|
||||
mike deploy --push --update-aliases `conan inspect . | sed -n -r 's/version: ([0-9]+.[0-9]+).[0-9]+/\1/p'`
|
||||
- name: Building docs
|
||||
- name: Building docs for a development version
|
||||
if: ${{!startsWith(github.event.ref, 'refs/tags/v')}}
|
||||
run: |
|
||||
mike deploy --push --update-aliases dev latest
|
||||
|
Reference in New Issue
Block a user