Skip to content

Commit 2dc07b1

Browse files
authored
docs: Enable nightly docs build on main branch (#619)
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
1 parent 8536e3d commit 2dc07b1

7 files changed

Lines changed: 89 additions & 13 deletions

File tree

.github/workflows/config/.secrets.baseline

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
{
4646
"name": "JwtTokenDetector"
4747
},
48-
{
49-
"name": "KeywordDetector",
50-
"keyword_exclude": ""
51-
},
5248
{
5349
"name": "MailchimpDetector"
5450
},
@@ -171,5 +167,5 @@
171167
}
172168
]
173169
},
174-
"generated_at": "2026-01-30T22:45:22Z"
170+
"generated_at": "2026-02-23T23:04:01Z"
175171
}

.github/workflows/detect-secrets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ on:
1818

1919
jobs:
2020
secrets-detector:
21-
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_secrets-detector.yml@v0.70.0
21+
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_secrets-detector.yml@v0.74.0

.github/workflows/release-docs.yml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,54 @@ on:
3434
description: Email addresses to send the notification to. Format as "me@me.com,you@you.com".
3535
required: false
3636
type: string
37+
update-version-picker:
38+
description: Update version picker.
39+
required: false
40+
type: boolean
41+
default: true
42+
github-ref:
43+
description: Github ref to checkout
44+
required: false
45+
type: string
46+
default: ""
47+
48+
workflow_call:
49+
inputs:
50+
dry-run:
51+
description: Whether to run the workflow in dry-run mode
52+
required: false
53+
type: boolean
54+
default: true
55+
publish-as-latest:
56+
description: Publish as Latest stable version.
57+
required: false
58+
type: boolean
59+
default: true
60+
docs-version-override:
61+
description: Docs version if commit is not tagged
62+
required: false
63+
type: string
64+
default: ""
65+
update-version-picker:
66+
description: Update version picker.
67+
required: false
68+
type: boolean
69+
default: true
70+
notify-emails:
71+
description: Email addresses to send the notification to. Format as "me@me.com,you@you.com".
72+
required: false
73+
type: string
74+
github-ref:
75+
description: Github ref to checkout
76+
required: false
77+
type: string
78+
default: ""
3779

3880
jobs:
3981
build-docs:
4082
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_build_docs.yml@v0.67.0
83+
with:
84+
ref: ${{ inputs.github-ref }}
4185

4286
publish-docs:
4387
runs-on: ubuntu-latest
@@ -46,7 +90,7 @@ jobs:
4690
- uses: actions/checkout@v6
4791
with:
4892
repository: NVIDIA-NeMo/FW-CI-templates
49-
ref: v0.72.0
93+
ref: v0.74.0
5094
path: FW-CI-templates
5195

5296
- uses: ./FW-CI-templates/.github/actions/publish-docs
@@ -62,6 +106,7 @@ jobs:
62106
emails-csv: ${{ inputs.notify-emails && format('{0},{1}', vars.docs_release_emails, inputs.notify-emails) || vars.docs_release_emails }}
63107
overwrite-latest-on-tag: ${{ inputs.publish-as-latest }}
64108
docs-version-override: ${{ inputs.docs-version-override }}
109+
update-version-picker: ${{ inputs.update-version-picker }}
65110
run-on-version-tag-only: ${{ github.ref_name != 'main' }}
66111
request-name: export-deploy-publish-docs-${{ github.run_id }}
67112
aws-region: ${{ vars.DOCS_AWS_REGION }}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright (c) 2026, NVIDIA CORPORATION.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Release Nightly Docs
16+
17+
on:
18+
schedule:
19+
- cron: "0 10 * * *"
20+
21+
jobs:
22+
call-release-docs:
23+
uses: ./.github/workflows/release-docs.yml
24+
with:
25+
dry-run: false
26+
publish-as-latest: false
27+
docs-version-override: "nightly"
28+
update-version-picker: false
29+
secrets: inherit

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
import sys
2525

2626
project = "NeMo-Export-Deploy"
27-
copyright = "2025, NVIDIA Corporation"
27+
copyright = "2026, NVIDIA Corporation"
2828
author = "NVIDIA Corporation"
29-
release = "latest"
29+
release = "nightly"
3030

3131
# -- General configuration ---------------------------------------------------
3232
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

docs/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "NeMo-Export-Deploy",
3-
"version": "latest"
3+
"version": "nightly"
44
}

docs/versions1.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[
22
{
3-
"version": "latest",
4-
"url": "https://docs.nvidia.com/nemo/export-deploy/latest/"
3+
"version": "nightly",
4+
"url": "https://docs.nvidia.com/nemo/export-deploy/nightly/"
5+
},
6+
{
7+
"name": "0.4.0 (latest)",
8+
"version": "0.4.0",
9+
"url": "https://docs.nvidia.com/nemo/export-deploy/latest/",
10+
"preferred": true
511
},
612
{
713
"version": "0.3.0",
@@ -15,4 +21,4 @@
1521
"version": "0.1.0",
1622
"url": "https://docs.nvidia.com/nemo/export-deploy/0.1.0/"
1723
}
18-
]
24+
]

0 commit comments

Comments
 (0)