mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
chore: add ssh private key for pizza engine (#587)
Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -91,6 +91,18 @@ jobs:
|
|||||||
- name: Install app dependencies and build web
|
- name: Install app dependencies and build web
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Set up SSH agent for private repository clone
|
||||||
|
if: matrix.platform != 'i686-pc-windows-msvc'
|
||||||
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
|
with:
|
||||||
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- name: Add Git server to known hosts
|
||||||
|
if: matrix.platform != 'i686-pc-windows-msvc'
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||||
|
chmod 600 ~/.ssh/known_hosts
|
||||||
- name: Pizza engine features setup
|
- name: Pizza engine features setup
|
||||||
if: matrix.platform != 'i686-pc-windows-msvc'
|
if: matrix.platform != 'i686-pc-windows-msvc'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user