Skip to content

Commit bbdaf52

Browse files
committed
Test docs push
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
1 parent 95a9ec9 commit bbdaf52

1 file changed

Lines changed: 71 additions & 72 deletions

File tree

.github/workflows/release-docs.yml

Lines changed: 71 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -13,75 +13,74 @@
1313
# limitations under the License.
1414
name: Release docs
1515
on:
16-
workflow_dispatch:
17-
inputs:
18-
dry-run:
19-
description: Whether to run the workflow in dry-run mode
20-
required: true
21-
type: boolean
22-
default: true
23-
publish-as-latest:
24-
description: Publish as Latest stable version.
25-
required: false
26-
type: boolean
27-
default: true
28-
docs-version-override:
29-
description: Docs version if commit is not tagged
30-
required: false
31-
type: string
32-
default: ""
33-
notify-emails:
34-
description: Email addresses to send the notification to. Format as "me@me.com,you@you.com".
35-
required: false
36-
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: ""
16+
push:
17+
# workflow_dispatch:
18+
# inputs:
19+
# dry-run:
20+
# description: Whether to run the workflow in dry-run mode
21+
# required: true
22+
# type: boolean
23+
# default: true
24+
# publish-as-latest:
25+
# description: Publish as Latest stable version.
26+
# required: false
27+
# type: boolean
28+
# default: true
29+
# docs-version-override:
30+
# description: Docs version if commit is not tagged
31+
# required: false
32+
# type: string
33+
# default: ""
34+
# notify-emails:
35+
# description: Email addresses to send the notification to. Format as "me@me.com,you@you.com".
36+
# required: false
37+
# type: string
38+
# update-version-picker:
39+
# description: Update version picker.
40+
# required: false
41+
# type: boolean
42+
# default: true
43+
# github-ref:
44+
# description: Github ref to checkout
45+
# required: false
46+
# type: string
47+
# default: ""
4748

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: ""
49+
# workflow_call:
50+
# inputs:
51+
# dry-run:
52+
# description: Whether to run the workflow in dry-run mode
53+
# required: false
54+
# type: boolean
55+
# default: true
56+
# publish-as-latest:
57+
# description: Publish as Latest stable version.
58+
# required: false
59+
# type: boolean
60+
# default: true
61+
# docs-version-override:
62+
# description: Docs version if commit is not tagged
63+
# required: false
64+
# type: string
65+
# default: ""
66+
# update-version-picker:
67+
# description: Update version picker.
68+
# required: false
69+
# type: boolean
70+
# default: true
71+
# notify-emails:
72+
# description: Email addresses to send the notification to. Format as "me@me.com,you@you.com".
73+
# required: false
74+
# type: string
75+
# github-ref:
76+
# description: Github ref to checkout
77+
# required: false
78+
# type: string
79+
# default: ""
7980

8081
jobs:
8182
build-docs:
8283
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_build_docs.yml@v0.67.0
83-
with:
84-
ref: ${{ inputs.github-ref }}
8584

8685
publish-docs:
8786
runs-on: ubuntu-latest
@@ -90,7 +89,7 @@ jobs:
9089
- uses: actions/checkout@v6
9190
with:
9291
repository: NVIDIA-NeMo/FW-CI-templates
93-
ref: 22f3740aa583c857bb08f1abd6286f13f302f1d0
92+
ref: v0.74.0
9493
path: FW-CI-templates
9594

9695
- uses: ./FW-CI-templates/.github/actions/publish-docs
@@ -100,15 +99,15 @@ jobs:
10099
# If its on a versioned tag, it will extract the version number from the tag (strip `v` prefix)
101100
# and publish to the versioned directory in Akamai.
102101
with:
103-
dry-run: ${{ inputs.dry-run }}
102+
dry-run: false
104103
artifacts-name: docs-html
105104
artifacts-path: _build/html
106-
emails-csv: ${{ inputs.notify-emails && format('{0},{1}', vars.docs_release_emails, inputs.notify-emails) || vars.docs_release_emails }}
107-
overwrite-latest-on-tag: ${{ inputs.publish-as-latest }}
108-
docs-version-override: ${{ inputs.docs-version-override }}
109-
update-version-picker: ${{ inputs.update-version-picker }}
110-
run-on-version-tag-only: ${{ github.ref_name != 'main' }}
111-
request-name: export-deploy-publish-docs-${{ github.run_id }}
105+
emails-csv: ${{ vars.docs_release_emails }}
106+
overwrite-latest-on-tag: false
107+
docs-version-override: nightly
108+
update-version-picker: true
109+
run-on-version-tag-only: false
110+
request-name: nemotron-publish-docs-${{ github.run_id }}
112111
aws-region: ${{ vars.DOCS_AWS_REGION }}
113112
aws-role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
114113
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}

0 commit comments

Comments
 (0)