Skip to content

Commit 47ba71c

Browse files
authored
Update to self-hosted runners for Actions Deployment (github#22440)
* update to self-hosted runners * remove zstd temporarily
1 parent cac72db commit 47ba71c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/staging-build-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
build-pr:
3232
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'] }}
3434
timeout-minutes: 5
3535
# This interrupts Build, Deploy, and pre-write Undeploy workflow runs in
3636
# progress for this PR branch.

.github/workflows/staging-deploy-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ jobs:
251251
prepare-for-deploy:
252252
needs: [pr-metadata, check-pr-before-prepare]
253253
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'] }}
255255
timeout-minutes: 5
256256
# This interrupts Build, Deploy, and pre-write Undeploy workflow runs in
257257
# progress for this PR branch.
@@ -446,7 +446,7 @@ jobs:
446446
deploy:
447447
needs: [pr-metadata, prepare-for-deploy, check-pr-before-deploy]
448448
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'] }}
450450
timeout-minutes: 10
451451
# This interrupts Build, Deploy, and pre-write Undeploy workflow runs in
452452
# progress for this PR branch.

0 commit comments

Comments
 (0)