astrolicious/astro-tips.dev

Deploying to FTP server

BryceRussell opened this issue · 2 comments

Sometimes, new Astro users are not familiar with the hosting providers inside the deploy guide and can incorrectly assume that Astro is only deployable to these services. It would be nice if there was a tip to help guide people on how to deploy to a traditional web host that uses FTP with a GitHub action like FTP Deploy.

I have used this action in production for websites before, and it works great. The only issue I have with the action is that it cannot whitelist uploaded files, only blacklist.

Side note: Maybe Astrolicious could provide an action that makes this easier?

SamKirkland/FTP-Deploy-Action#436 (comment) exists but they do not seem keen on integrating the include option.

Maybe https://www.npmjs.com/package/ftp-deploy can be used to deploy the same in an action.