Skip to content

Commit

Permalink
fix github action [4]
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadhabibi14 committed Aug 9, 2023
1 parent 25df8f6 commit 1beb312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: {%- raw -%} ${{ secrets.SSH_PRIVATE_KEY }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: 'bakekok walakakok'

- name: Add known_hosts 🖥️
run: ssh-keyscan -p ${{ secrets.SSH_PORT}} -H ${{ secrets.SERVER_IP }}{% endraw%} >> ~/.ssh/known_hosts
run: ssh-keyscan -p ${{ secrets.SSH_PORT}} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts

- name: Upload with rsync 🔁
run: rsync -avz "ssh -p ${{ secrets.SSH_PORT }}" ./ root@${{ secrets.SERVER_IP }}:/root/wabot
Expand Down

0 comments on commit 1beb312

Please sign in to comment.