Fix blog doesn't showing up in docs (build) #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "pulp-docs CI" | |
on: | |
pull_request: | |
concurrency: | |
group: "main-${{ github.ref_name }}-${{ github.workflow }}" | |
cancel-in-progress: true | |
jobs: | |
build: | |
uses: "./.github/workflows/build.yml" | |
docs: | |
needs: | |
- "build" | |
uses: "./.github/workflows/docs.yml" | |
tests: | |
needs: "build" | |
uses: "./.github/workflows/tests.yml" | |
ready-to-ship: | |
# This is a dummy dependent task to have a single entry for the branch protection rules. | |
runs-on: "ubuntu-latest" | |
needs: | |
- "docs" | |
- "tests" | |
if: "always()" | |
steps: | |
- name: "Collect needed jobs results" | |
run: | | |
echo '${{toJson(needs)}}' | jq -r 'to_entries[]|select(.value.result!="success")|.key + ": " + .value.result' | |
echo '${{toJson(needs)}}' | jq -e 'to_entries|map(select(.value.result!="success"))|length == 0' | |
echo "CI says: Looks good!" |