Skip to content

docs(how-to-guides): add training docs for traffic_light_fine_detector #5582

docs(how-to-guides): add training docs for traffic_light_fine_detector

docs(how-to-guides): add training docs for traffic_light_fine_detector #5582

Workflow file for this run

name: deploy-docs
on:
push:
branches:
- main
- galactic
paths:
- mkdocs.yaml
- "**/*.md"
- "**/*.svg"
- "**/*.png"
- "**/*.jpg"
pull_request_target:
types:
- opened
- synchronize
- labeled
workflow_dispatch:
jobs:
require-label:
if: ${{ github.event_name == 'pull_request_target' }}
uses: autowarefoundation/autoware-github-actions/.github/workflows/require-label.yaml@v1
with:
label: tag:deploy-docs
deploy-docs-pr:
if: ${{ github.event_name == 'pull_request_target' && needs.require-label.outputs.result == 'true' }}
needs: require-label
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Deploy docs
uses: autowarefoundation/autoware-github-actions/deploy-docs@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
latest: false
mkdocs-requirements-txt: mkdocs-requirements.txt
deploy-docs-push:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Deploy docs
uses: autowarefoundation/autoware-github-actions/deploy-docs@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
latest: ${{ github.ref_name == github.event.repository.default_branch }}
mkdocs-requirements-txt: mkdocs-requirements.txt
deploy-docs-workflow-dispatch:
if: ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Deploy docs
uses: autowarefoundation/autoware-github-actions/deploy-docs@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
latest: false
mkdocs-requirements-txt: mkdocs-requirements.txt