We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49301fd commit 5be0c2bCopy full SHA for 5be0c2b
.github/workflows/tests.yml
@@ -82,16 +82,16 @@ jobs:
82
DB_USER: root
83
run: ./vendor/bin/pest --parallel
84
85
+
86
- name: Setup SSH Key
87
run: |
88
mkdir -p ~/.ssh
- echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/deploy_key
89
- chmod 600 ~/.ssh/deploy_key
90
-
+ echo "${{ secrets.SSH_PRIVATE_KEY_B64 }}" | base64 --decode > ~/.ssh/id_rsa
+ chmod 600 ~/.ssh/id_rsa
91
92
- name: Test SSH Connection
93
94
- ssh -i ~/.ssh/deploy_key -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} "echo 'SSH OK'"
+ ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} "echo 'SSH OK'"
95
96
97
- name: Synchronize Files To Server
0 commit comments