Skip to content

Commit 3e89689

Browse files
authored
Merge pull request #28 from datavisyn/new_deployment_runs_on
Add runs_on flags
2 parents e1ede24 + 654ab38 commit 3e89689

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/actions/build-node/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747
- name: Git config
4848
if: inputs.github_ro_token != ''
4949
run: |
50-
git config --global url."https://[email protected]/".insteadOf ssh://[email protected]/
50+
git config --global --replace-all url."https://[email protected]/".insteadOf ssh://[email protected]/
5151
git config --add --global url."https://[email protected]/".insteadOf [email protected]:
5252
env:
5353
GITHUB_TOKEN: ${{ inputs.github_ro_token }}
@@ -97,4 +97,4 @@ runs:
9797
if: inputs.run_webpack == 'true'
9898
with:
9999
name: node-bundle
100-
path: ./bundles
100+
path: ./bundles

.github/workflows/build-node-python.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ on:
2828
type: boolean
2929
required: false
3030
default: false
31+
runs_on:
32+
type: string
33+
required: false
34+
default: "ubuntu-20.04"
3135
secrets:
3236
DATAVISYN_BOT_REPO_TOKEN:
3337
required: false
@@ -62,7 +66,7 @@ jobs:
6266
permissions:
6367
id-token: write
6468
contents: write
65-
runs-on: ubuntu-20.04
69+
runs-on: ${{ inputs.runs_on }}
6670
steps:
6771
- name: Checkout source repository
6872
uses: actions/checkout@v3
@@ -89,7 +93,7 @@ jobs:
8993
concurrency:
9094
group: "python-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
9195
cancel-in-progress: true
92-
runs-on: ubuntu-20.04
96+
runs-on: ${{ inputs.runs_on }}
9397
steps:
9498
- name: Checkout source repository
9599
uses: actions/checkout@v3
@@ -118,7 +122,7 @@ jobs:
118122
permissions:
119123
id-token: write
120124
contents: write
121-
runs-on: ubuntu-20.04
125+
runs-on: ${{ inputs.runs_on }}
122126

123127
services:
124128
postgres:

0 commit comments

Comments
 (0)