Seems like the correct sequence is:

1. Make changes to slides

2. Generate Slides

3. Publish the slides.

4. Commit changes and push.