use correct secret (typo)

This commit is contained in:
lookshe 2025-01-13 13:18:34 +01:00
parent 969f9c2f91
commit b480ade225

View file

@ -14,10 +14,9 @@ jobs:
- name: install ssh key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_RPIVATE_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p "${{ vars.SSH_PORT }}" -H "${{ vars.SSH_HOST }}" > ~/.ssh/known_hosts
cat /root/.ssh/id_rsa
- name: create remote directory
run: ssh -vv -p "${{ vars.SSH_PORT }}" "${{ vars.SSH_USER }}"@"${{ vars.SSH_HOST }}" 'mkdir -p ${{ vars.SSH_DEPLOY_DIR }}'
- name: sync .htaccess file