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. Discuss
  3. Github Action to deploy a Cloudron app

Github Action to deploy a Cloudron app

Scheduled Pinned Locked Moved Discuss
githubgithub actionscicd
7 Posts 4 Posters 1.3k Views 4 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.
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #1

      Hi everyone,

      was just browsing Github and came along this project: https://github.com/rossmaclean/cloudron-deploy-action

      I am not using Github Actions for any of my Cloudron projects, but maybe someone else here has a use for it.

      1 Reply Last reply
      6
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        Very nice. @rossmaclean , is this your project ?

        R 1 Reply Last reply
        1
        • girishG girish

          Very nice. @rossmaclean , is this your project ?

          R Offline
          R Offline
          rossmaclean
          wrote on last edited by
          #3

          @girish It is indeed, still WIP but there's not much left to do. I plan to finish it soon.

          I might actually have a feature/merge request I need to raise regarding allowing environment variables to be set using the --token flag (unless I missed something and it is already a feature).

          I hope others find the Action useful!

          girishG 1 Reply Last reply
          2
          • R rossmaclean

            @girish It is indeed, still WIP but there's not much left to do. I plan to finish it soon.

            I might actually have a feature/merge request I need to raise regarding allowing environment variables to be set using the --token flag (unless I missed something and it is already a feature).

            I hope others find the Action useful!

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by girish
            #4

            @rossmaclean I think you are right. The env and backup sub commands need to get the --token support. I can add it tomorrow, just need to copy/paste the logic from the main command. Just a quirk of how the commander npm module works.

            R 1 Reply Last reply
            1
            • girishG girish

              @rossmaclean I think you are right. The env and backup sub commands need to get the --token support. I can add it tomorrow, just need to copy/paste the logic from the main command. Just a quirk of how the commander npm module works.

              R Offline
              R Offline
              rossmaclean
              wrote on last edited by
              #5

              @girish That would be awesome if you could add it.

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by girish
                #6

                It took a while to figure out how to make commander work with subcommands+global options. Will test a bit more and publish tomorrow.

                edit: Published CLI 5.1.0

                1 Reply Last reply
                1
                • robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by
                  #7

                  It seems @jimcavoli already got this working, see here:
                  https://forum.cloudron.io/topic/3678/build-deploy-to-cloudron-from-github-actions

                  Conscious tech

                  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