Skip to content

Commit 5be0c2b

Browse files
committed
updated the readme file
1 parent 49301fd commit 5be0c2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,16 @@ jobs:
8282
DB_USER: root
8383
run: ./vendor/bin/pest --parallel
8484

85+
8586
- name: Setup SSH Key
8687
run: |
8788
mkdir -p ~/.ssh
88-
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/deploy_key
89-
chmod 600 ~/.ssh/deploy_key
90-
89+
echo "${{ secrets.SSH_PRIVATE_KEY_B64 }}" | base64 --decode > ~/.ssh/id_rsa
90+
chmod 600 ~/.ssh/id_rsa
9191
9292
- name: Test SSH Connection
9393
run: |
94-
ssh -i ~/.ssh/deploy_key -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} "echo 'SSH OK'"
94+
ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} "echo 'SSH OK'"
9595
9696
9797
- name: Synchronize Files To Server

0 commit comments

Comments
 (0)