File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
31
31
build-pr :
32
32
if : ${{ github.repository == 'github/docs-internal' || github.repository == 'github/docs' }}
33
- runs-on : ubuntu-latest
33
+ runs-on : ${{ fromJSON('[" ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
34
34
timeout-minutes : 5
35
35
# This interrupts Build, Deploy, and pre-write Undeploy workflow runs in
36
36
# progress for this PR branch.
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ jobs:
251
251
prepare-for-deploy :
252
252
needs : [pr-metadata, check-pr-before-prepare]
253
253
if : ${{ needs.check-pr-before-prepare.outputs.pull_request_state == 'open' }}
254
- runs-on : ubuntu-latest
254
+ runs-on : ${{ fromJSON('[" ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
255
255
timeout-minutes : 5
256
256
# This interrupts Build, Deploy, and pre-write Undeploy workflow runs in
257
257
# progress for this PR branch.
@@ -446,7 +446,7 @@ jobs:
446
446
deploy :
447
447
needs : [pr-metadata, prepare-for-deploy, check-pr-before-deploy]
448
448
if : ${{ needs.check-pr-before-deploy.outputs.pull_request_state == 'open' }}
449
- runs-on : ubuntu-latest
449
+ runs-on : ${{ fromJSON('[" ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
450
450
timeout-minutes : 10
451
451
# This interrupts Build, Deploy, and pre-write Undeploy workflow runs in
452
452
# progress for this PR branch.
You can’t perform that action at this time.
0 commit comments