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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Github Action to deploy a Cloudron app

    Discuss
    github github actions cicd
    4
    7
    286
    Loading More Posts
    • 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.
    • fbartels
      fbartels App Dev last edited by

      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 Reply Quote 6
      • girish
        girish Staff last edited by

        Very nice. @rossmaclean , is this your project ?

        R 1 Reply Last reply Reply Quote 1
        • R
          rossmaclean @girish last edited by

          @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!

          girish 1 Reply Last reply Reply Quote 2
          • girish
            girish Staff @rossmaclean last edited by 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 1 Reply Last reply Reply Quote 1
            • R
              rossmaclean @girish last edited by

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

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by girish

                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 Reply Quote 1
                • robi
                  robi last edited by

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

                  Life of Advanced Technology

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB