Skip to content

Add sync-to-server workflow #1

Add sync-to-server workflow

Add sync-to-server workflow #1

name: Sync to Server
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Sync files to server
uses: appleboy/[email protected]
with:
host: 141.136.36.40
username: guzelwebdesign
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /root/guezelwebdesign
git pull origin main