I’ve been looking around to find what’s best practice for staging changes to streamlit, but haven’t found anything.
I pushed a change to github today which worked fine in my local environment but failed on streamlit, for reasons I’m still investigating. So I had to revert my change in github to restore to previous version.
Is this really the only way, or is there a better way?
If you’re only making small changes, I recommend using a feature branch where you can develop new features/make changes without affecting your main branch. If it works, then you can merge to the main branch.
A feature branch makes sense for development testing. But how can I deploy that to streamlit cloud for testing without pushing to the head and potentially breaking my app? I can see no way to tell streamlit cloud to pull from anything apart from the head.