Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
chore: fix docs pipeline (backport #27794) (#27795)
Browse files Browse the repository at this point in the history
* chore: fix docs pipeline (#27794)

* trigger docs build when .github/workflows/docs.yml changed

* echo tag info

* echo channel info

* echo any changes info

* bump tj-actions/changed-files@v29.0.7

* fix variable name

* fix broken link

(cherry picked from commit 6eeff08)

# Conflicts:
#	docs/src/getstarted/local.md

* fix conflict

Co-authored-by: Yihau Chen <a122092487@gmail.com>
  • Loading branch information
mergify[bot] and yihau authored Sep 15, 2022
1 parent fb67263 commit 9a161c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,25 @@ jobs:
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v19
uses: tj-actions/changed-files@v29.0.7
with:
files: |
.github/workflows/docs.yml
docs/**
- name: Pre Build
id: prebuild
run: |
echo "tag: ${{ steps.check.outputs.tag }}"
echo "channel: ${{ steps.check.outputs.channel }}"
echo "any changes: ${{ steps.changed-files-specific.outputs.any_changed }}"
echo "::set-output name=need_to_build::${{
steps.check.outputs.tag != ''
||
(
(steps.check.outputs.channel == 'edge' || steps.check.outputs.channel == 'beta')
&&
steps.changed-files-specific.outputs.any_change != ''
steps.changed-files-specific.outputs.any_changed != ''
)
}}"
shell: bash
Expand Down

0 comments on commit 9a161c5

Please sign in to comment.