Update CICD Script to remove npm version
All checks were successful
Build and Deploy / build (push) Successful in 31s
All checks were successful
Build and Deploy / build (push) Successful in 31s
This commit is contained in:
parent
b7b3de339c
commit
f843c82853
@ -23,8 +23,6 @@ jobs:
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 10
|
||||
|
||||
- name: Install rsync
|
||||
run: sudo apt-get update && sudo apt-get install -y rsync
|
||||
@ -34,6 +32,8 @@ jobs:
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add ~/.ssh/id_rsa
|
||||
|
||||
- name: Add server to known_hosts
|
||||
run: ssh-keyscan ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
|
||||
|
Loading…
x
Reference in New Issue
Block a user