Skip to content

Commit d7e1723

Browse files
spetersenmsCopilot
andauthored
Fix DeployToReferenceDocumentation (#8921)
## What & why The reference documentation flow (both stand-alone and in CICD) was broken due to duplicate app ids caused by the localization of layers. Specifically the DetermineArtifactUrl step fails when running with no specific project `project="."`. The fix was to add a conditional setting, that when no project is selected, we use the appFolders setting to point to any random app. Working run here: https://github.com/microsoft/BCApps/actions/runs/28441725835 [AB#612711](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/612711) - [x] I read the full diff and it contains only changes I intended. - [ ] I built the affected app(s) locally with no new analyzer warnings. - [ ] I ran the change in Business Central and confirmed it behaves as expected. - [ ] I added or updated tests for the new behavior, or explained below why none are needed. **What I tested and the outcome** *(required — be specific: scenarios, commands, screenshots for UI changes)* <!-- Example: - Ran the new "Post and Send" action on a sales invoice in a fresh container; document posted and email queued (see screenshot). - New unit tests in MyFeatureTest.Codeunit.al pass locally; full module test suite green. - No tests added because change is comment-only / refactor with existing coverage. --> ## Risk & compatibility <!-- Anything reviewers should watch for: breaking changes, upgrade/data impact, permissions, telemetry, feature flags, follow-up work. Write "None" if there's nothing to call out. --> --------- Co-authored-by: spetersenms <spetersenms@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1e8fe22 commit d7e1723

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/AL-Go-Settings.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
"CLEAN29"
3232
]
3333
}
34+
},
35+
{
36+
"projects": [
37+
"."
38+
],
39+
"settings": {
40+
"appFolders": [
41+
"src/Layers/W1/DemoTool"
42+
]
43+
}
3444
}
3545
],
3646
"customALGoFiles": {
@@ -121,8 +131,11 @@
121131
"PullRequestTrigger": "pull_request",
122132
"ALDoc": {
123133
"maxReleases": 0,
124-
"continuousDeployment": false,
134+
"continuousDeployment": true,
125135
"groupByProject": false,
136+
"includeProjects": [
137+
"build_projects_Apps W1"
138+
],
126139
"excludeProjects": [
127140
"build_projects_System Application Modules"
128141
]

0 commit comments

Comments
 (0)