Skip to content

Commit be1c0af

Browse files
Kristopher Turnerclaude
andcommitted
chore(platform): adopt Phase 3-4 — reusable-mkdocs-deploy, drift-check, platform descriptor
- deploy-docs.yml: migrated to reusable-mkdocs-deploy.yml@main - drift-check.yml: new — weekly Monday 09:00 UTC per-repo drift check - .azurelocal-platform.yml: new — declares platformVersion, repoType, adopted workflows Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9cd5758 commit be1c0af

3 files changed

Lines changed: 34 additions & 37 deletions

File tree

.azurelocal-platform.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# AzureLocal platform self-descriptor
2+
# Schema: https://AzureLocal.github.io/platform/reference/platform-metadata/
3+
4+
platformVersion: 1
5+
repoType: ps-module
6+
7+
adopts:
8+
standards: true
9+
reusableWorkflows:
10+
- mkdocs-deploy
11+
- drift-check
12+
- release-please
13+
- validate-structure
14+
- add-to-project
15+
maproom: false
16+
trailhead: false
17+
18+
lastAudited: 2026-04-13

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,8 @@ on:
88
- 'mkdocs.yml'
99
workflow_dispatch:
1010

11-
permissions:
12-
contents: read
13-
pages: write
14-
id-token: write
15-
16-
concurrency:
17-
group: pages
18-
cancel-in-progress: false
19-
2011
jobs:
21-
build:
22-
runs-on: ubuntu-latest
23-
steps:
24-
- uses: actions/checkout@v4
25-
26-
- uses: actions/setup-python@v5
27-
with:
28-
python-version: '3.12'
29-
30-
- name: Install MkDocs Material
31-
run: pip install mkdocs-material mkdocs-drawio
32-
33-
- name: Build site
34-
run: mkdocs build --strict
35-
36-
- uses: actions/upload-pages-artifact@v3
37-
with:
38-
path: site
39-
40-
deploy:
41-
needs: build
42-
runs-on: ubuntu-latest
43-
environment:
44-
name: github-pages
45-
url: ${{ steps.deployment.outputs.page_url }}
46-
steps:
47-
- id: deployment
48-
uses: actions/deploy-pages@v4
12+
docs:
13+
uses: AzureLocal/platform/.github/workflows/reusable-mkdocs-deploy.yml@main
14+
with:
15+
pip-packages: 'mkdocs-material mkdocs-drawio'

.github/workflows/drift-check.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Drift Check
2+
3+
on:
4+
schedule:
5+
- cron: '0 9 * * 1' # every Monday at 09:00 UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
drift:
10+
uses: AzureLocal/platform/.github/workflows/reusable-drift-check.yml@main
11+
with:
12+
required-files: 'CHANGELOG.md,mkdocs.yml,.github/workflows/deploy-docs.yml'

0 commit comments

Comments
 (0)