Skip to content

example: Laravel deployment with SSH #30

@a-mamal

Description

@a-mamal

Intro

Hello! 👋

I'm currently new to using this action (and GitHub Actions in general), and I'm trying to set up a deployment workflow for a Laravel project using SSH + rsync.

Setup

My setup is a bit more structured than a basic static site deployment:

  • Laravel project
  • GitHub Actions used for build steps (composer install + npm build)
  • Deployment via SSH using web-deploy
  • Hosting environment (Hostinger shared hosting) with a separated public folder (called public_html) structure

Description and suggestion

At the moment, I don’t have a fully working or finalized solution yet, but I noticed that the examples in the README mostly cover simpler cases (static sites or direct file sync).

It would be really helpful to have an example or documentation that includes:

  • A build step (Composer + npm)
  • SSH deployment using a private key
  • Laravel-specific structure considerations

I'm still learning this setup, so I don’t have a ready solution to contribute yet, but I thought this might be a useful real-world case for others as well.

Thanks for the work on this project 🙌

Suggested labels

  • documentation
  • example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions