forked from NVIDIA/TransformerEngine
-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (37 loc) · 955 Bytes
/
deploy_nightly_docs.yml
File metadata and controls
39 lines (37 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
# A workflow to deploy the nightly version of TE documentation to GitHub Pages
name: Deploy nightly docs
on:
push:
branches: [ "main" ]
jobs:
build:
uses: ./.github/workflows/docs.yml
prepare:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: "te_docs"
path: "html"
- name: Prepare for pages
uses: actions/upload-pages-artifact@v1.0.7
with:
name: github-pages
path: "html"
deploy:
needs: prepare
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: actions/deploy-pages@v2.0.0