Skip to content

Commit 9cfd7a8

Browse files
committed
fix: run K8: Edit on self-hosted
1 parent cd03827 commit 9cfd7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/k8s_edit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
k8-edit:
1717
name: 'K8: Edit'
18-
runs-on: ubuntu-latest
18+
runs-on: [self-hosted, "${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}"]
1919
environment: ${{ github.event_name == 'release' && 'prod' || 'dev' }}
2020
env:
2121
KUBERNETES_CLUSTER_REPO_NAME: "${{ vars.KUBERNETES_CLUSTER_REPO_NAME }}"

0 commit comments

Comments
 (0)