Files
mattermost/.github/workflows/docs-preview.yml
Jesse Hallam f292f95d5a ci(docs-preview): avoid spurious failures from superseded runs (#39123)
* ci(docs-preview): stop rebuilding on ready_for_review

* ci(docs-preview): don't report failure when a run is superseded
2026-10-20 13:11:32 -03:00

25 lines
662 B
YAML

name: docs-preview
on:
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'docs/**'
- 'api/**'
permissions:
contents: read
statuses: write
jobs:
deploy:
uses: ./.github/workflows/docs-preview-template.yml
if: github.event.pull_request.head.repo.full_name == github.repository
secrets:
AWS_DOCS_PR_PREVIEW_KEY_ID: ${{ secrets.AWS_DOCS_PR_PREVIEW_KEY_ID }}
AWS_DOCS_PR_PREVIEW_SECRET_ACCESS_KEY: ${{ secrets.AWS_DOCS_PR_PREVIEW_SECRET_ACCESS_KEY }}
with:
PR_NUMBER: ${{ github.event.number }}
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
STATUS_CONTEXT: docs-preview