Skip to content

updated readme.md

updated readme.md #2

Workflow file for this run

name: Continuous Deployment
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using key
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
password: ${{ secrets.PASSWORD }}
script: |
cd /home/user/fastgram
git pull origin main
systemctl restart fastgram.service