Skip to content

Commit a054103

Browse files
authored
Merge pull request #3502 from ArmDeveloperEcosystem/header-footer-nav-update
small fix to merge internal config on deploy (only for internal)
2 parents b449def + 21823c2 commit a054103

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ jobs:
6868

6969
# Builds arm-software-developer repo
7070
- name: Build
71-
run: hugo --minify
71+
run: |
72+
if [ "${{ inputs.target }}" = "dev" ]; then
73+
hugo --minify --config config.toml,config.internal.toml
74+
else
75+
hugo --minify
76+
fi
7277
env:
7378
HUGO_LLM_API: ${{ secrets.HUGO_LLM_API }}
7479
HUGO_RAG_API: ${{ secrets.HUGO_RAG_API }}

config.internal.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[params]
2+
# Validate the refreshed global navigation and footer on internal.learn.arm.com.
3+
global_web_components_url = "https://www.arm.com/arm-global-web-components/devhub/test.js"

0 commit comments

Comments
 (0)