Skip to content

Commit fcbbdb4

Browse files
committed
also change env because the manager won't work
1 parent bab5f39 commit fcbbdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-tutorials.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
name: pytorch_tutorial_build_manager
116116
needs: worker
117117
runs-on: [self-hosted, linux.2xlarge]
118-
environment: pytorchbot-env
118+
environment: ${{ github.ref == 'refs/heads/main' && 'pytorchbot-env' || '' }}
119119
env:
120120
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-focal-cuda12.1-cudnn8-py3-gcc9"
121121
CUDA_VERSION: "9"

0 commit comments

Comments
 (0)