Skip to content

Commit

Permalink
update(builder): change uses library for ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
1stdevfriend committed Dec 11, 2023
1 parent 2d55bbb commit e05b3c2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ jobs:
uses: actions/checkout@v2

- name: SSH into Remote Server and Deploy
uses: appleboy/ssh-action@master
uses: fifsky/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
user: ${{ secrets.REMOTE_USER }}
pass: ${{ secrets.REMOTE_PASSWORD}}
port: 22
script: |
command: |
cd /root/donations/gaming-donation
docker-compose down
Expand All @@ -46,3 +42,9 @@ jobs:
echo "Git pull failed. Check repository and credentials."
exit 1
fi
host: ${{ secrets.HOST }}
user: ${{ secrets.USERNAME }}
pass: ${{ secrets.PASSWORD}}
port: ${{ secrets.PORT}}

0 comments on commit e05b3c2

Please sign in to comment.