use correct secret (typo)
This commit is contained in:
parent
969f9c2f91
commit
b480ade225
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue