|
|
|
|
@ -15,7 +15,7 @@ jobs:
|
|
|
|
|
pre-job:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
outputs:
|
|
|
|
|
should_run: ${{ steps.found_paths.outputs.docs == 'true' || steps.should_force.outputs.should_force == 'true' }}
|
|
|
|
|
should_run: ${{ steps.found_paths.outputs.docs == 'true' || steps.should_force.outputs.should_force == 'true' }}
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout code
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
@ -25,9 +25,11 @@ jobs:
|
|
|
|
|
filters: |
|
|
|
|
|
docs:
|
|
|
|
|
- 'docs/**'
|
|
|
|
|
workflow:
|
|
|
|
|
- '.github/workflows/docs-build.yml'
|
|
|
|
|
- name: Check if we should force jobs to run
|
|
|
|
|
id: should_force
|
|
|
|
|
run: echo "should_force=${{ github.event_name == 'release' || github.ref_name == 'main' }}" >> "$GITHUB_OUTPUT"
|
|
|
|
|
run: echo "should_force=${{ steps.found_paths.outputs.workflow == 'true' || github.event_name == 'release' || github.ref_name == 'main' }}" >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
name: Docs Build
|
|
|
|
|
|