Tutorial on using GitHub Actions and GitHub to update Theme

@DavidDarnes Can you build a tutorial on how to use GitHub Actions and GitHub to update Themes?

Have you checked out the GitHub integration? It includes an explanation of how to set up GitHub Actions.

1 Like

@StuartMorrisAU Thanks for pointing me to the right resource. I somehow missed this.

I few questions in using this Integration.

  1. Can we use a Private Repository to update the theme?
  2. If we use a Private Repository, how to keep the theme updates from the original version?
  3. 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?

  1. Yes, you can use private repositories. Github limits the number of minutes you can use Actions, but it shouldn’t limit you.
  2. I’m not sure I understand what you’re asking
  3. You can specify the theme-name config option with the name of the zip.
1 Like