Skip to content

Commit

Permalink
Set the LATEST_RELEASE environment variable when building docs
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Algarvio <[email protected]>
  • Loading branch information
s0undt3ch committed Feb 15, 2023
1 parent 6df8006 commit 0f69913
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ jobs:
- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ jobs:
- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ jobs:
- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/templates/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ on:

- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz

Expand Down

0 comments on commit 0f69913

Please sign in to comment.