Publish Docs #45
This file contains hidden or 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: Publish Docs | |
on: | |
workflow_dispatch: | |
inputs: | |
target: | |
description: 'Which target to build' | |
type: choice | |
options: | |
- all-documentation | |
- image-based-video-search | |
- smart-parking | |
- smart-intersection | |
- loitering-detection | |
- pallet-defect-detection | |
- weld-porosity | |
- wind-turbine-anomaly-detection | |
permissions: {} | |
jobs: | |
build_image-based-video-search: | |
permissions: | |
contents: read # needed for actions/checkout | |
pull-requests: read # needed for gh pr list | |
issues: write # needed to post PR comment | |
if: ${{ (github.event.inputs.target == 'image-based-video-search') || (github.event.inputs.target == 'all-documentation') }} | |
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403 | |
secrets: | |
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }} | |
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }} | |
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }} | |
with: | |
docs_directory: metro-ai-suite/image-based-video-search | |
build_smart-parking: | |
permissions: | |
contents: read # needed for actions/checkout | |
pull-requests: read # needed for gh pr list | |
issues: write # needed to post PR comment | |
if: ${{ (github.event.inputs.target == 'smart-parking') || (github.event.inputs.target == 'all-documentation') }} | |
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403 | |
secrets: | |
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }} | |
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }} | |
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }} | |
with: | |
docs_directory: metro-ai-suite/smart-parking | |
build_smart-intersection: | |
permissions: | |
contents: read # needed for actions/checkout | |
pull-requests: read # needed for gh pr list | |
issues: write # needed to post PR comment | |
if: ${{ (github.event.inputs.target == 'smart-intersection') || (github.event.inputs.target == 'all-documentation') }} | |
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403 | |
secrets: | |
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }} | |
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }} | |
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }} | |
with: | |
docs_directory: metro-ai-suite/smart-intersection | |
branch_pattern: '^main$' # Smart Intersection only exists on 'main' branch | |
build_loitering-detection: | |
permissions: | |
contents: read # needed for actions/checkout | |
pull-requests: read # needed for gh pr list | |
issues: write # needed to post PR comment | |
if: ${{ (github.event.inputs.target == 'loitering-detection') || (github.event.inputs.target == 'all-documentation') }} | |
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403 | |
secrets: | |
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }} | |
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }} | |
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }} | |
with: | |
docs_directory: metro-ai-suite/loitering-detection | |
build_pallet-defect-detection: | |
permissions: | |
contents: read # needed for actions/checkout | |
pull-requests: read # needed for gh pr list | |
issues: write # needed to post PR comment | |
if: ${{ (github.event.inputs.target == 'pallet-defect-detection') || (github.event.inputs.target == 'all-documentation') }} | |
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403 | |
secrets: | |
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }} | |
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }} | |
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }} | |
with: | |
docs_directory: manufacturing-ai-suite/pallet-defect-detection | |
build_weld-porosity: | |
permissions: | |
contents: read # needed for actions/checkout | |
pull-requests: read # needed for gh pr list | |
issues: write # needed to post PR comment | |
if: ${{ (github.event.inputs.target == 'weld-porosity') || (github.event.inputs.target == 'all-documentation') }} | |
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403 | |
secrets: | |
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }} | |
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }} | |
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }} | |
with: | |
docs_directory: manufacturing-ai-suite/weld-porosity | |
build_wind-turbine-anomaly-detection: | |
permissions: | |
contents: read # needed for actions/checkout | |
pull-requests: read # needed for gh pr list | |
issues: write # needed to post PR comment | |
if: ${{ (github.event.inputs.target == 'wind-turbine-anomaly-detection') || (github.event.inputs.target == 'all-documentation') }} | |
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403 | |
secrets: | |
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }} | |
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }} | |
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }} | |
with: | |
docs_directory: manufacturing-ai-suite/wind-turbine-anomaly-detection | |
branch_pattern: '^main$' # Wind Turbine Anomaly Detection only exists on 'main' branch |