Skip to content

Commit cd80b2f

Browse files
committed
fix: switch submodule auth to SSH deploy key
1 parent 4c0d417 commit cd80b2f

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/build-matrix.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111
outputs:
1212
matrix: ${{ steps.set-matrix.outputs.matrix }}
1313
steps:
14+
- uses: webfactory/ssh-agent@v0.9.0
15+
with:
16+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
17+
1418
- uses: actions/checkout@v6
1519
with:
1620
submodules: true
@@ -39,6 +43,10 @@ jobs:
3943
matrix: ${{fromJson(needs.generate-matrix.outputs.matrix)}}
4044

4145
steps:
46+
- uses: webfactory/ssh-agent@v0.9.0
47+
with:
48+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
49+
4250
- uses: actions/checkout@v6
4351
with:
4452
submodules: true

.github/workflows/nightly-release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
matrix: ${{ steps.set-matrix.outputs.matrix }}
1717
tag: ${{ steps.set-tag.outputs.tag }}
1818
steps:
19+
- uses: webfactory/ssh-agent@v0.9.0
20+
with:
21+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
22+
1923
- uses: actions/checkout@v4
2024
with:
2125
submodules: true
@@ -46,6 +50,10 @@ jobs:
4650
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
4751

4852
steps:
53+
- uses: webfactory/ssh-agent@v0.9.0
54+
with:
55+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
56+
4957
- uses: actions/checkout@v4
5058
with:
5159
submodules: true

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "ext/rusefi"]
22
path = ext/rusefi
3-
url = https://github.com/mazduino/rusefi-core.git
3+
url = git@github.com:mazduino/rusefi-core.git

0 commit comments

Comments
 (0)