Skip to content

Commit

Permalink
Merge pull request #1892 from bunkerity/dev
Browse files Browse the repository at this point in the history
Refactor documentation deployment steps for clarity and improved func…
  • Loading branch information
TheophileDiot authored Jan 10, 2025
2 parents d347f79 + e613148 commit 9f1da55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/push-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@ 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: Deploy documentation (hidden)
- name: Set up hidden documentation
if: inputs.HIDDEN == true
run: |
mike deploy --update-aliases --alias-type=copy ${{ inputs.VERSION }} ${{ inputs.ALIAS }}
mike set-hidden ${{ inputs.VERSION }} true
mike push
mike props ${{ inputs.VERSION }} --set hidden=true
- name: Deploy documentation
if: inputs.HIDDEN == false
run: mike deploy --update-aliases --push --alias-type=copy ${{ inputs.VERSION }} ${{ inputs.ALIAS }}
- name: Set default doc
if: inputs.ALIAS == 'latest'
Expand Down

0 comments on commit 9f1da55

Please sign in to comment.