mirror of
https://github.com/mattermost/mattermost.git
synced 2026-11-03 12:48:37 -06:00
* ci(docs-preview): stop rebuilding on ready_for_review * ci(docs-preview): don't report failure when a run is superseded
29 lines
735 B
YAML
29 lines
735 B
YAML
name: docs-preview-fork
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
PR_NUMBER:
|
|
type: string
|
|
required: true
|
|
description: "PR number (fork PR to build preview for)"
|
|
COMMIT_SHA:
|
|
type: string
|
|
required: true
|
|
description: "Full commit SHA to build"
|
|
|
|
permissions:
|
|
contents: read
|
|
statuses: write
|
|
|
|
jobs:
|
|
deploy:
|
|
uses: ./.github/workflows/docs-preview-template.yml
|
|
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: ${{ inputs.PR_NUMBER }}
|
|
COMMIT_SHA: ${{ inputs.COMMIT_SHA }}
|
|
STATUS_CONTEXT: docs-preview
|