mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Update push doc workflow to edit the version after deploying it
This commit is contained in:
parent
851b0ff806
commit
454adaf0cc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/push-doc.yml
vendored
4
.github/workflows/push-doc.yml
vendored
|
|
@ -38,11 +38,11 @@ jobs:
|
|||
python-version: "3.10"
|
||||
- name: Install doc dependencies
|
||||
run: pip install --no-cache-dir --require-hashes -r docs/requirements.txt && sudo apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
|
||||
- name: Push doc
|
||||
run: mike deploy --update-aliases --push --alias-type=copy ${{ inputs.VERSION }} ${{ inputs.ALIAS }}
|
||||
- name: Hide doc
|
||||
if: inputs.HIDDEN == true
|
||||
run: mike props ${{ inputs.VERSION }} --set hidden=true
|
||||
- name: Push doc
|
||||
run: mike deploy --update-aliases --push --alias-type=copy ${{ inputs.VERSION }} ${{ inputs.ALIAS }}
|
||||
- name: Set default doc
|
||||
if: inputs.ALIAS == 'latest'
|
||||
run: mike set-default --push latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue