Intenando logear secretos
All checks were successful
CD for startPage / build (push) Successful in 8s
CD for startPage / deploy (push) Successful in 8s

This commit is contained in:
2023-07-01 01:28:24 -04:00
parent 7053597b74
commit fdb79d510d

View File

@@ -25,6 +25,8 @@ jobs:
- name: Configure Server
run: |
echo "${{ secrets.SERVER_PRIVATE_KEY }}" > private_key && chmod 600 private_key
ssh -o StrictHostKeyChecking=no -i private_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} '
cat private_key
echo "${{ secrets.SSH_HOST }}"
ssh -o StrictHostKeyChecking=no -i private_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} '
ls
'