Currently, the FTP Deploy action is triggered whenever any push is made. Then, if and only if the push was made to main, it will run the FTP Deploy action. If we continue to do it this way, then every time any push is made, it will trigger the action, and many will look like this:
We don't want that. I changed it to only triggering the action in the first place if the push was made to main. That way, there will be no more "skipped" actions like that.
Currently, the FTP Deploy action is triggered whenever any push is made. Then, if and only if the push was made to
main
, it will run the FTP Deploy action. If we continue to do it this way, then every time any push is made, it will trigger the action, and many will look like this: We don't want that. I changed it to only triggering the action in the first place if the push was made tomain
. That way, there will be no more "skipped" actions like that.