Skip to content

Commit 1d529cb

Browse files
authored
[6184] Split Mkdocs and CodeVA publish (#136)
1 parent b9711e4 commit 1d529cb

File tree

3 files changed

+31
-12
lines changed

3 files changed

+31
-12
lines changed

.github/CODEOWNERS

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# These owners will be the default owners for everything in
1+
# These owners will be the default owners for everything in
22
# the repo. Unless a later match takes precedence,
3-
# @department-of-veterans-affairs/ves-event-infra will be requested for
3+
# @department-of-veterans-affairs/ves-event-bus will be requested for
44
# review when someone opens a pull request.
5-
* @department-of-veterans-affairs/ves-event-infra
5+
* @department-of-veterans-affairs/ves-event-bus
6+
7+
# GitHub Actions Workflows and scripts
8+
/.github/ @department-of-veterans-affairs/ves-event-bus-infra
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish to CodeVA
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths-ignore:
7+
- '.github/**'
8+
- '**/README.md'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: write
13+
jobs:
14+
publish-codeva:
15+
name: Publish CodeVA
16+
uses: department-of-veterans-affairs/code-va/.github/workflows/build-publish-docs.yaml@main
17+
with:
18+
branch: ${{ github.ref_name }}
19+
repository: ${{ github.repository }}
20+
secrets:
21+
token: ${{ secrets.READ_TEAM_PAT}}
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
name: Publish Documentation
1+
name: Publish to MKdocs
22
on:
33
push:
44
branches:
55
- main
6+
paths-ignore:
7+
- '.github/**'
8+
- '**/README.md'
69
workflow_dispatch:
710

811
permissions:
@@ -22,11 +25,3 @@ jobs:
2225
- run: |
2326
pip install --only-binary=:all: -r requirements-lock.txt
2427
- run: mkdocs gh-deploy --force
25-
publish-codeva:
26-
name: Publish CodeVA
27-
uses: department-of-veterans-affairs/code-va/.github/workflows/build-publish-docs.yaml@main
28-
with:
29-
branch: ${{ github.ref_name }}
30-
repository: ${{ github.repository }}
31-
secrets:
32-
token: ${{ secrets.READ_TEAM_PAT}}

0 commit comments

Comments
 (0)