From fa06bcda18998fadcf4f3c1fb623175664e36ba1 Mon Sep 17 00:00:00 2001 From: korih <96402323+korih@users.noreply.github.com> Date: Sat, 24 Aug 2024 14:49:11 -0700 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eb095ee..911876b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,19 +20,17 @@ jobs: uses: actions/setup-node@v4.0.3 with: node-version: '20' - - - name: Install pnpm - run: npm install -g pnpm - + cache: 'npm' + - name: Install Dependencies - run: pnpm install + run: npm install - name: Deploy run: | git config --global user.name $user_name git config --global user.email $user_email git remote set-url origin https://${github_token}@github.com/${repository} - pnpm run deploy + npm run deploy env: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com'