name: FTP Deploy
on: push
jobs:
  deploy:
    name: Deploy to FTP
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v2
    - name: Deploy to FTP
      uses: SamKirkland/FTP-Deploy-Action@4.2.0
      with:
        server: $
        username: $
        password: $
        server-dir: serverpath/wp-content/plugins/biotech-blocks/
        local-dir: ./
YOURSERVER = Example (ftp.markokrstic.com)
Navigate to the settings > Secrets

Add your secrets
