astrolicious / astro-tips.dev

The place for content that goes beyond the official docs, for all Astronauts!
https://astro-tips.dev
MIT License
77 stars 7 forks source link

Deploying to FTP server #99

Open BryceRussell opened 4 months ago

BryceRussell commented 4 months ago

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?

rishi-raj-jain commented 4 months ago

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 commented 4 months ago

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