Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How to publish code changes from a Git repository to a Ghost install managed by Cloudron?

How to publish code changes from a Git repository to a Ghost install managed by Cloudron?

Scheduled Pinned Locked Moved Solved Support
4 Posts 3 Posters 772 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • madrushM Offline
      madrushM Offline
      madrush
      wrote on last edited by
      #1

      Our use case is that we will be hosting a website using a Ghost installation managed by Cloudron. We would like to keep the theme files in a Git repository (which could be on Github or self-hosted via one of the Cloudron apps). We would want to sync these files to the Ghost theme directory.

      Additionally, we would like to have dev, staging, and production sites as part of our deploy process. So I imagine we would need three Ghost installs, each mirroring a different Git branch. Is that correct?

      Is the above doable within the Cloudron ecosystem and if so can anyone point me in the right direction to set it up?

      1 Reply Last reply
      0
      • subvenS Offline
        subvenS Offline
        subven
        wrote on last edited by subven
        #2

        Okay first you can easily host many different Ghost instances on cloudron and use them as dev/test/stage/prod. Cloudron (Premium plan) has Gitlab as app, so you can create your own CI pipeline to deploy your themes. Since the rest of your questions do not really have to do with cloudron I would suggest you this link: https://jamesfacts.com/building-a-continuous-integration-pipeline-for-your-ghost-theme/

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #3

          Wanted to add, that depending on how you want to push the theme assets to those apps, looks like Ghost itself has an experimental theme api https://ghost.org/docs/api/v2/admin/#endpoints otherwise you could also push file assets from the CI pipeline using the cloudron cli tool

          1 Reply Last reply
          0
          • madrushM Offline
            madrushM Offline
            madrush
            wrote on last edited by
            #4

            Hi @subven and @nebulon: sorry for not replying sooner. In the middle of the project we decided not to use Ghost (or Cloudron) after all. But you gave me a clearer picture of how it could work if we do with another project. Thanks for the tips.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search