Skip to content

Merge remote-tracking branch 'origin/main' #10

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #10

name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host : ${{secrets.SSH_HOST}}
key: ${{secrets.SSH_KEY}}
username: ${{secrets.SSH_USERNAME}}
script: |
whoami
cd Tests
git pull https://github.com/YaroslavKSE/Tests.git
echo "Deployment to digitalocean was successfull"