Skip to content

Commit e122901

Browse files
authored
Use environment for docgen (#2826)
1 parent cd61e54 commit e122901

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docgen.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
jobs:
1212
build-docs:
1313
runs-on: linux.g5.4xlarge.nvidia.gpu
14+
environment: pytorchbot-env
1415
container:
1516
image: docker.io/pytorch/manylinux-builder:cuda12.1
1617
options: --gpus all
@@ -22,6 +23,7 @@ jobs:
2223
- uses: actions/checkout@v3
2324
with:
2425
ref: ${{github.head_ref}}
26+
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
2527
- name: Select Python / CUDA
2628
run: |
2729
git config --global --add safe.directory /__w/TensorRT/TensorRT

0 commit comments

Comments
 (0)