Have you checked out the GitHub integration? It includes an explanation of how to set up GitHub Actions.
@StuartMorrisAU Thanks for pointing me to the right resource. I somehow missed this.
I few questions in using this Integration.
- Can we use a Private Repository to update the theme?
- If we use a Private Repository, how to keep the theme updates from the original version?
- How to ensure the updates on GitHub theme repo replaces the existing version of the theme instead of creating a new theme. For example, initially, I had London theme uploaded manually but when I used GitHub actions to push updates instead of replacing it, it added a new theme with different name. I have two themes now like with names london (London) and london (London-Master). Second one is the original theme uploaded and the First one is from GitHub Actions.
I haven’t used the integration myself, so I’m not 100% sure how it works. I assume a private repo would work OK.
You might need to manually delete the original theme. What happens if you update the version number and trigger another action push? Does it replace the theme or create a new one?
- Yes, you can use private repositories. Github limits the number of minutes you can use Actions, but it shouldn’t limit you.
- I’m not sure I understand what you’re asking
- You can specify the
theme-nameconfig option with the name of the zip.