We are developing a theme for hubspot. When we are commiting to the develop branch a github action runs to deploy the files to the hubspot theme folder. If we now call a webpage containing the theme, some assets are not reflecting the currently committed versions. To fix this we need to go to the Design Manager and change every affected file and publish it.
Does anyone know how to prevent this?
Hi @ICarow
Thanks for your question. I found a few related threads, but none that are a solution for your issue. I’d like to invite some of our community members to the conversation – hey @BarryGrennan @FrancoQ @Bortami have you ever dealt with this issue? Or a similar one?
Thank you very much for taking a look! — Jaycee
Can you share your GitHub Actions script?
Is the issue that the action is not pushing any of your updates to the design manager, some of your updates, or is missing files?
Sure. It is just the standard Hubspot GH Action:
All files are uploaded to the system, but some of the JS files are not updated. So it seems if you call a page. In the developer console, you get error messages concerning some Scripts missing and some CORS related messages. Only if we are changing all Javascript files in the design manager (just put a line break and save), Hubspot seem to realize that there have been changes and corrects them.
