Github Action for pushing code to Dreamhost via SSH.
File: dreamhost-static.yml
- Setup your secrets:
KNOWN_HOSTS_ENTRY
(if you need help finding it, please go here.),USERNAME
,PASSWORD
, andHOST
. - Change the
DEPLOY_PATH
to your Dreamhost website folder. - You are done!
File: dreamhost-laravel.yml
- Use Steps 1 and 2 for the Static Guide.
- Configure your PHP version in the yml file.
- Make sure your Laravel
.env
file is already in Dreamhost. - You are done! The action will take care of migrations and compiling the front-end!
File: dreamhost-php.yml
- Follow the steps for Laravel.
- You are done!
To find the Known Hosts Entry
, go to your Dreamhost Panel, on the left side of your screen, click the more
tab and then go to SSH Keys
and you will be able to find the Known Hosts entry there.