-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 1.04 KB
/
pull_request.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Pull Request
on:
pull_request:
branches:
- "main"
- "[0-9]+.[0-9]+"
jobs:
doc_qa:
uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.97
with:
MD_CONFIG: .github/md_config.json
DOC_SRC: content
MD_LINT_CONFIG: .markdownlint.yaml
build_container:
if: ${{ github.base_ref == 'main' }}
uses: stakater/.github/.github/workflows/pull_request_container_build.yaml@v0.0.97
with:
DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#pull-request-deployments
DOCKER_FILE_PATH: Dockerfile
secrets:
CONTAINER_REGISTRY_URL: ghcr.io/stakater
CONTAINER_REGISTRY_USERNAME: ${{ github.actor }}
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.GHCR_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }}
DOCKER_SECRETS: GIT_AUTH_TOKEN=${{ secrets.PUBLISH_TOKEN }}
deploy_doc:
uses: stakater/.github/.github/workflows/pull_request_versioned_doc.yaml@v0.0.97
secrets:
GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}