Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: SSH deploy on push
on:
push:
branches:
— master

Check failure on line 5 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
jobs:
build:
runs-on: ubuntu-latest
steps:
— uses: actions/checkout@v4
— name: rsync deploy
uses: burnett01/rsync-deployments@7.0.1
with:
switches: -avzr --delete
path: .
remote_host: ${{ secrets.REMOTE_HOST }}
remote_user: ${{ secrets.REMOTE_USER }}
remote_key: ${{ secrets.REMOTE_KEY }}
remote_path: ${{ secrets.REMOTE_PATH }}