Skip to content

Commit 904c9ac

Browse files
committed
fix: Modify tiny-engine-portal workflowes
1 parent 5e19e9f commit 904c9ac

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/build-tiny-engine-portal.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,19 @@ jobs:
1717
build:
1818
runs-on: ubuntu-latest
1919
steps:
20+
- uses: webfactory/ssh-agent@v0.8.0
21+
with:
22+
ssh-private-key: ${{ secrets.SUBMODULE_SSH_KEY }}
2023
- name: Checkout
2124
uses: actions/checkout@v3
2225
- name: Setup pnpm
2326
uses: pnpm/action-setup@v3
2427
with:
2528
version: 9
29+
- name: Configure Git identity
30+
run: |
31+
git config --global user.name "GitHub Actions"
32+
git config --global user.email "actions@github.com"
2633
- name: Install deps
2734
run: pnpm -F tiny-engine-portal install --ignore-scripts --no-frozen-lockfile
2835
- name: Ensure submodules are up-to-date (pull latest from their remote)

.github/workflows/deploy-obs-tiny-engine.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,19 @@ jobs:
3333
outputs:
3434
version: ${{ steps.ver.outputs.value }}
3535
steps:
36+
- uses: webfactory/ssh-agent@v0.8.0
37+
with:
38+
ssh-private-key: ${{ secrets.SUBMODULE_SSH_KEY }}
3639
- name: Checkout
3740
uses: actions/checkout@v3
3841
- name: Setup pnpm
3942
uses: pnpm/action-setup@v3
4043
with:
4144
version: 9
45+
- name: Configure Git identity
46+
run: |
47+
git config --global user.name "GitHub Actions"
48+
git config --global user.email "actions@github.com"
4249
- name: Install deps
4350
run: pnpm -F tiny-engine-portal install --ignore-scripts --no-frozen-lockfile
4451
- name: Ensure submodules are up-to-date (pull latest from their remote)

0 commit comments

Comments
 (0)