diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cb08b90..6a9425b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,10 +49,14 @@ jobs: ssh-keyscan github.com >> ~/.ssh/known_hosts git config --global user.name $GIT_USER git config --global user.email $GIT_EMAIL + + - name: Update npm + run: npm install -g npm + - name: Install dependencies run: | - npm cache clean --force npm config set registry https://registry.npmjs.org/ + npm cache clean --force npm install - name: Deploy hexo