From 4ec93c7688f1427e301e5ba8b44d59b13393fcdf Mon Sep 17 00:00:00 2001 From: gxz Date: Thu, 12 Oct 2023 15:37:38 +0800 Subject: [PATCH] chore: ci --- .github/actions/setup/action.yml | 5 +++++ .github/workflows/build.yml | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index b83a710..324dd0c 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -4,6 +4,11 @@ description: Setup Node.js and pnpm runs: using: composite steps: + - name: Add SSH key to chekout a private repo + uses: webfactory/ssh-agent@v0.5.4 + with: + ssh-private-key: ${{ secrets.REPO_SSH_KEY }} + - name: Install pnpm 🤏🏻 uses: pnpm/action-setup@v2.2.4 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95248a6..62a7048 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,11 +13,6 @@ jobs: contents: read packages: read steps: - - name: Add SSH key to chekout a private repo - uses: webfactory/ssh-agent@v0.5.4 - with: - ssh-private-key: ${{ secrets.REPO_SSH_KEY }} - - name: Checkout 🛎️ uses: actions/checkout@v3