mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 10:27: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
|
- name: Installing pip dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install conan mkdocs-material mkdocs-rss-plugin mkdocs-material[imaging] mkdocs-exclude mike
|
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')
|
if: startsWith(github.event.ref, 'refs/tags/v')
|
||||||
run: |
|
run: |
|
||||||
mike deploy --push --update-aliases `conan inspect . | sed -n -r 's/version: ([0-9]+.[0-9]+).[0-9]+/\1/p'`
|
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')}}
|
if: ${{!startsWith(github.event.ref, 'refs/tags/v')}}
|
||||||
run: |
|
run: |
|
||||||
mike deploy --push --update-aliases dev latest
|
mike deploy --push --update-aliases dev latest
|
||||||
|
Reference in New Issue
Block a user