DEV Community

Discussion on: Automatic Deployment via good ol' FTP

Collapse
 
devmount profile image
Andreas

Of course, this should be the logical next step. Do you also use GitHub actions for that? How do you handle failed tests?

Collapse
 
dennisk profile image
Dennis Keirsgieter

I do use GH actions for that yes. And if a test fails i get notified via email and it will simple stop deploying :)

Thread Thread
 
devmount profile image
Andreas

Cool! I looked through your GitHub repos and found one of your yml files - I will take it as a starting point to increase automation of my own workflows - thanks again 😊

Thread Thread
 
dennisk profile image
Dennis Keirsgieter

Yeah i think all that is missing from that repo is the testing part. Just do a command to test and if it fails it should stop all together. The git hard -reset command is there because i had an issue earlier with the ftp plugin also uploading files i don't want to my FTP. Not sure if that is still needed. No problem and have fun with it!

Thread Thread
 
devmount profile image
Andreas

Thank you for sharing your workflow 👍🏻