astro-tips.dev icon indicating copy to clipboard operation
astro-tips.dev copied to clipboard

Deploying to FTP server

Open BryceRussell opened this issue 1 year ago • 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?

BryceRussell avatar May 10 '24 18:05 BryceRussell

https://github.com/SamKirkland/FTP-Deploy-Action/issues/436#issuecomment-1916430376 exists but they do not seem keen on integrating the include option.

rishi-raj-jain avatar May 19 '24 19:05 rishi-raj-jain

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

rishi-raj-jain avatar May 19 '24 19:05 rishi-raj-jain