<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Connecting the LAMP app with Git]]></title><description><![CDATA[<p dir="auto">How do we set up GIT from github to auto pull updates from the main branch every time there is an update made or merge performed?</p>
]]></description><link>https://forum.cloudron.io/topic/14622/connecting-the-lamp-app-with-git</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 20:28:16 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14622.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Nov 2025 21:39:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Sat, 29 Nov 2025 09:08:21 GMT]]></title><description><![CDATA[<p dir="auto">oK, Im not sure if I just fat fingered something or if this was fixed, but the yaml is now set up to be working.</p>
<p dir="auto">Here is my .yaml file</p>
<pre><code>name: Sync Repo with Cloudron LAMP app
on:
  workflow_dispatch:
  push:
    branches: [main]

jobs:
  deploy-to-cloudron-app:
    runs-on: ubuntu-latest
    environment: [WHATEVER YOUR ENVIRONMENT NAME WAS IN SETTINGS OF REPO]

    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Diagnostic – Print environment context
        run: |
          echo "=== GITHUB CONTEXT ==="
          echo "Branch: $GITHUB_REF"
          echo "Workflow: $GITHUB_WORKFLOW"
          echo "Runner: $RUNNER_NAME"
          echo "Workspace: $GITHUB_WORKSPACE"
          echo "======================"

      - name: Diagnostic – Check secret presence
        shell: bash
        run: |
          declare -A secrets
          secrets["CLOUDRON_FQDN"]="${{ secrets.CLOUDRON_FQDN }}"
          secrets["CLOUDRON_TOKEN"]="${{ secrets.CLOUDRON_TOKEN }}"
          secrets["CLOUDRON_APP_ID"]="${{ secrets.CLOUDRON_APP_ID }}"

          echo "Checking secrets..."
          for key in "${!secrets[@]}"; do
            if [ -z "${secrets[$key]}" ]; then
              echo "❌ $key is EMPTY"
            else
              echo "✅ $key is set"
            fi
          done

      - name: Cloudron Push to App
        uses: cloudron-io/cloudron-push-to-app@latest
        
        with:
          CLOUDRON_FQDN: "${{ secrets.CLOUDRON_FQDN }}"
          CLOUDRON_TOKEN: "${{ secrets.CLOUDRON_TOKEN }}"
          CLOUDRON_APP_ID: "${{ secrets.CLOUDRON_APP_ID }}"
          CLOUDRON_PUSH_DESTINATION: "/app/data"
          CLOUDRON_CREATE_APP_BACKUP: "false"

</code></pre>
]]></description><link>https://forum.cloudron.io/post/116214</link><guid isPermaLink="true">https://forum.cloudron.io/post/116214</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Sat, 29 Nov 2025 09:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Sat, 29 Nov 2025 03:58:43 GMT]]></title><description><![CDATA[<p dir="auto">So my git repo has<br />
/public<br />
/apache<br />
/logs</p>
<p dir="auto">when I ran the yaml with the push to being /app/data, the action would fail.</p>
<p dir="auto">I updated the yaml to push to /app/data/public</p>
<p dir="auto">I then had a project file like this<br />
/public/public<br />
/public/apache<br />
/public/logs<br />
/public<br />
/apache<br />
/logs</p>
]]></description><link>https://forum.cloudron.io/post/116206</link><guid isPermaLink="true">https://forum.cloudron.io/post/116206</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Sat, 29 Nov 2025 03:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Sat, 29 Nov 2025 01:56:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/privsec" aria-label="Profile: privsec">@<bdi>privsec</bdi></a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/privsec" aria-label="Profile: privsec">@<bdi>privsec</bdi></a> said in <a href="/post/116203">Connecting the LAMP app with Git</a>:</p>
<blockquote>
<p dir="auto">I need this changed to be /add/data as /app/data/public, can you update that?</p>
</blockquote>
<p dir="auto">Can you please elaborate?</p>
<hr />
<p dir="auto">The Actions does:</p>
<pre><code class="language-bash">cloudron push --app ${CLOUDRON_APP_ID} ${GITHUB_WORKSPACE}/. ${CLOUDRON_PUSH_DESTINATION}
</code></pre>
<p dir="auto">A manual test of this.<br />
I created the following folder and file structure as the <code>${GITHUB_WORKSPACE}</code>:</p>
<pre><code>push-test
├── base-file-1
└── sub-folder-1
    └── sub-file-1
</code></pre>
<p dir="auto">Now, if I run:</p>
<pre><code class="language-bash">cloudron push --app "default-lamp" push-test/. /app/data
</code></pre>
<p dir="auto">The expected outcome is:</p>
<ul>
<li>the file <code>base-file-1</code> in <code>/app/data/base-file</code></li>
<li>the folder <code>sub-folder-1</code> in <code>/app/data/sub-folder-1</code></li>
<li>the file <code>sub-file-1</code> in <code>/app/data/sub-folder-1/sub-file-1</code></li>
</ul>
<p dir="auto">and indeed, that is the case:</p>
<pre><code>cloudron exec --app default-lamp -- ls -lah /app/data/
total 44K
drwxr-xr-x 5 cloudron cloudron 4.0K Nov 29 01:46 .
drwxr-xr-x 1 root     root     4.0K Nov 25 10:28 ..
-rw-r--r-- 1 www-data www-data   44 Nov 25 10:28 .phpmyadminauth
-rw-r--r-- 1 www-data www-data  100 Nov 25 10:28 PHP_VERSION
drwxr-xr-x 2 www-data www-data 4.0K Nov 25 10:28 apache
-rw-r--r-- 1 cloudron cloudron    0 Nov 29 01:43 base-file-1
-rw-r--r-- 1 www-data www-data 2.3K Nov 25 10:28 credentials.txt
-rw-r--r-- 1 www-data www-data  157 Nov 25 10:28 php.ini
-rw-r--r-- 1 www-data www-data  343 Nov 25 10:28 phpmyadmin_login.txt
drwxr-xr-x 5     1001     1001 4.0K Nov 28 10:24 public
-rw-r--r-- 1 www-data www-data   50 Nov 25 10:28 run.sh
drwxr-xr-x 2 cloudron cloudron 4.0K Nov 29 01:45 sub-folder-1
</code></pre>
<p dir="auto">I think you need to articulate and explain what you expect it to do.</p>
]]></description><link>https://forum.cloudron.io/post/116205</link><guid isPermaLink="true">https://forum.cloudron.io/post/116205</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Sat, 29 Nov 2025 01:56:11 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Sat, 29 Nov 2025 00:55:40 GMT]]></title><description><![CDATA[<p dir="auto">I need this changed to be /add/data as /app/data/public, can you update that?</p>
]]></description><link>https://forum.cloudron.io/post/116203</link><guid isPermaLink="true">https://forum.cloudron.io/post/116203</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Sat, 29 Nov 2025 00:55:40 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Sat, 29 Nov 2025 00:52:05 GMT]]></title><description><![CDATA[<p dir="auto">Ok, so I just found out the issue, its the /app/data/public push</p>
<p dir="auto">It has to be /app/data/public, otherwise it will fail.</p>
<p dir="auto">This also just screwed my app up as I was testing randomly and now i have nested project files.</p>
]]></description><link>https://forum.cloudron.io/post/116202</link><guid isPermaLink="true">https://forum.cloudron.io/post/116202</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Sat, 29 Nov 2025 00:52:05 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Sat, 29 Nov 2025 00:53:36 GMT]]></title><description><![CDATA[<p dir="auto">So, im feeling pretty dumb.</p>
<p dir="auto">I have updated the .yaml file and I have ensured the right values are in my secrets environment. I even ran this through chatgpt to make sure nothing is missing or wrong. And the action is still failing for me.</p>
<p dir="auto">The issue is when it actually tries to push to my cloudron app</p>
<p dir="auto">Here is my current yaml</p>
<pre><code>name: Cloudron Diagnostic Deploy

on:
  workflow_dispatch:
  push:
    branches: [main]

jobs:
  deploy-to-cloudron-app:
    runs-on: ubuntu-latest
    environment: environment

    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Diagnostic – Print environment context
        run: |
          echo "=== GITHUB CONTEXT ==="
          echo "Branch: $GITHUB_REF"
          echo "Workflow: $GITHUB_WORKFLOW"
          echo "Runner: $RUNNER_NAME"
          echo "Workspace: $GITHUB_WORKSPACE"
          echo "======================"

      - name: Diagnostic – Check secret presence
        shell: bash
        run: |
          declare -A secrets
          secrets["CLOUDRON_FQDN"]="${{ secrets.CLOUDRON_FQDN }}"
          secrets["CLOUDRON_TOKEN"]="${{ secrets.CLOUDRON_TOKEN }}"
          secrets["CLOUDRON_APP_ID"]="${{ secrets.CLOUDRON_APP_ID }}"

          echo "Checking secrets..."
          for key in "${!secrets[@]}"; do
            if [ -z "${secrets[$key]}" ]; then
              echo "❌ $key is EMPTY"
            else
              echo "✅ $key is set"
            fi
          done

      - name: Cloudron Push to App
        uses: cloudron-io/cloudron-push-to-app@latest
        
        with:
          CLOUDRON_FQDN: "${{ secrets.CLOUDRON_FQDN }}"
          CLOUDRON_TOKEN: "${{ secrets.CLOUDRON_TOKEN }}"
          CLOUDRON_APP_ID: "${{ secrets.CLOUDRON_APP_ID }}"
          CLOUDRON_PUSH_DESTINATION: "/app/data"
          CLOUDRON_CREATE_APP_BACKUP: "false"
</code></pre>
<p dir="auto">I have the three keys set in my environment using my main cloudron domain name, my API key, and the app id string found in the app under info</p>
]]></description><link>https://forum.cloudron.io/post/116201</link><guid isPermaLink="true">https://forum.cloudron.io/post/116201</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Sat, 29 Nov 2025 00:53:36 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Sat, 29 Nov 2025 00:18:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/privsec" aria-label="Profile: privsec">@<bdi>privsec</bdi></a></p>
<p dir="auto">I assume you are asking about this sentence:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a> said in <a href="/post/116158">Connecting the LAMP app with Git</a>:</p>
<blockquote>
<p dir="auto">But be aware, the APP_ID and TOKEN might be outdated anytime if the <a href="http://my.demo.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">my.demo.cloudron.io</a> server is reset or someone deletes the app.</p>
</blockquote>
<p dir="auto">With resetting the <code>my.demo.cloudron.io</code> the following is referenced.<br />
The server <code>my.demo.cloudron.io</code> is re-deployed regularly to keep it nice and clean.<br />
This deletes all apps, users and so on. Like you would set up the server from 0 again.<br />
Since <a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: brutalbirdie">@<bdi>brutalbirdie</bdi></a> used <code>my.demo.cloudron.io</code> for demonstration, the used app id and token inside <a href="https://github.com/cloudron-io/github-action-test-repo/blob/e6a51f1b4a5c21f157206abdcfb375e903411f18/.github/workflows/deploy-to-my-demo-cloudron-io.yaml#L20-L21" target="_blank" rel="noopener noreferrer nofollow ugc">.github/workflows/deploy-to-my-demo-cloudron-io.yaml#L20-L21</a> can be invalidated any given time.</p>
<p dir="auto">So the warning given by <a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: brutalbirdie">@<bdi>brutalbirdie</bdi></a> simplified: Don't expect the demo for <code>my.demo.cloudron.io</code> inside <a href="https://github.com/cloudron-io/github-action-test-repo/blob/e6a51f1b4a5c21f157206abdcfb375e903411f18/.github/workflows/deploy-to-my-demo-cloudron-io.yaml#L20-L21" target="_blank" rel="noopener noreferrer nofollow ugc">.github/workflows/deploy-to-my-demo-cloudron-io.yaml#L20-L21</a> to work all the time, since the <code>my.demo.cloudron.io</code> instance is build anew regularly.</p>
<p dir="auto">I hope this helps and if I interpreted this wrong, please correct me <a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: brutalbirdie">@<bdi>brutalbirdie</bdi></a></p>
]]></description><link>https://forum.cloudron.io/post/116199</link><guid isPermaLink="true">https://forum.cloudron.io/post/116199</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Sat, 29 Nov 2025 00:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Fri, 28 Nov 2025 23:53:56 GMT]]></title><description><![CDATA[<p dir="auto">For clarification purposes, by reset, do you mean restarting the app?</p>
]]></description><link>https://forum.cloudron.io/post/116198</link><guid isPermaLink="true">https://forum.cloudron.io/post/116198</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Fri, 28 Nov 2025 23:53:56 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Fri, 28 Nov 2025 09:19:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/privsec" aria-label="Profile: privsec">@<bdi>privsec</bdi></a> said in <a href="/post/116148">Connecting the LAMP app with Git</a>:</p>
<blockquote>
<p dir="auto">(I want to push to this directory, rather then to public)</p>
</blockquote>
<p dir="auto">Note on that.<br />
The action runs:</p>
<pre><code class="language-bash">cloudron push --app ${CLOUDRON_APP_ID} ${GITHUB_WORKSPACE}/. ${CLOUDRON_PUSH_DESTINATION}
</code></pre>
<p dir="auto">Be aware of the <code>/.</code> after <code>${GITHUB_WORKSPACE}</code>.<br />
From the cloudron cli:</p>
<pre><code class="language-bash">cloudron push --help
Usage: cloudron push [options] &lt;local&gt; &lt;remote&gt;

push a single local file or directory to a remote directory

Options:
  --app &lt;id/location&gt;  App id or location
  -h, --help           display help for command

  Examples:

    $ cloudron push --app myapp file.txt /app/data/file.txt # pushes file.txt
    $ cloudron push --app myapp file.txt /app/data/         # pushes file.txt. trailing slash is important
    $ cloudron push --app myapp dir /app/data               # pushes dir/* as /app/data/dir/*
    $ cloudron push --app myapp dir/. /app/data             # pushes dir/* as /app/data/*
    $ cloudron push --app myapp dir/subdir /app/data        # pushes dir/subdir/* as /app/data/subdir/*
    $ cloudron push --app myapp . /app/data                 # pushes .* as /app/data/*
</code></pre>
<p dir="auto">Meaning, if you set <code>CLOUDRON_PUSH_DESTINATION: "/app/data"</code>, yes, everything in the GitHub repository will be pushed to <code>/app/data</code>, but be aware, this does not delete existing files.<br />
So, if you have the file <code>/app/data/historic.txt</code> and this is not in your GitHub repo, after the action has run, this file will still exist.</p>
<p dir="auto">This could be seen as inconvenient, but, let's take the following scenario:<br />
You have the folder <code>/app/data/static/images</code> which holds all your static image assets and in the GitHub repo you have <code>static/images/.gitkeep</code> an empty folder that is still tracked by git but empty.<br />
If I changed the GitHub Action to overwrite the <code>CLOUDRON_PUSH_DESTINATION</code> instead of copying into it, all the <code>/app/data/static/images</code> files would be deleted.</p>
<p dir="auto">Just wanted to make you aware of that <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=f0ef0373a83" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/116162</link><guid isPermaLink="true">https://forum.cloudron.io/post/116162</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Fri, 28 Nov 2025 09:19:59 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Fri, 28 Nov 2025 08:59:06 GMT]]></title><description><![CDATA[<p dir="auto">Ah, yes, <code>CLOUDRON_URL</code> is a misleading variable name, changing it to <code>CLOUDRON_FQDN</code>.<br />
So the documented example of <code>my.demo.cloudron.io</code> is correct.<br />
I have updated the GitHub Action repo, Example Repo and Cloudron documentation (will be deployed soon) accordingly.</p>
<p dir="auto">I have added the <code>demo</code> branch to demo GitHub project <a href="https://github.com/cloudron-io/github-action-test-repo" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/cloudron-io/github-action-test-repo</a> and the file <a href="https://github.com/cloudron-io/github-action-test-repo/blob/demo/.github/workflows/deploy-to-my-demo-cloudron-io.yaml" target="_blank" rel="noopener noreferrer nofollow ugc">.github/workflows/deploy-to-my-demo-cloudron-io.yaml</a> which is using a clear text token, url, and appid for better understanding and only deploys on the demo branch.<br />
You can use this file as a copy-and-paste example for testing.<br />
But be aware, the APP_ID and TOKEN might be outdated anytime if the <code>my.demo.cloudron.io</code> server is reset or someone deletes the app.</p>
]]></description><link>https://forum.cloudron.io/post/116158</link><guid isPermaLink="true">https://forum.cloudron.io/post/116158</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Fri, 28 Nov 2025 08:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Fri, 28 Nov 2025 07:40:13 GMT]]></title><description><![CDATA[<p dir="auto">Just guessing but <a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: brutalbirdie">@<bdi>brutalbirdie</bdi></a> can confirm. Does CLOUDRON_URL need to have https:// ?</p>
]]></description><link>https://forum.cloudron.io/post/116156</link><guid isPermaLink="true">https://forum.cloudron.io/post/116156</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Fri, 28 Nov 2025 07:40:13 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Fri, 28 Nov 2025 05:06:25 GMT]]></title><description><![CDATA[<p dir="auto">I keep getting this error message</p>
<p dir="auto"><img src="/assets/uploads/files/1764306285264-10c2e076-a3fd-4740-bb8f-04adb402613e-image-resized.png" alt="image.png" class=" img-fluid img-markdown" width="1037" height="382" /></p>
<p dir="auto">I have ensured that the URL, Token, and App ID are correct.</p>
<p dir="auto">Here is my YAML file</p>
<pre><code>on:
  push:
    branches:
      - main
jobs:
  deploy-to-cloudron-app:
    runs-on: ubuntu-latest
    environment: my.domain.com
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v6
      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.3'
          extensions: pdo_mysql, pdo, json, mbstring, curl
          coverage: none
      - name: Verify PHP Extensions
        run: |
          echo "PHP Version:"
          php -v
          echo -e "\nInstalled Extensions:"
          php -m | grep -E "(pdo_mysql|pdo|json|mbstring|curl)" || echo "Some extensions not found"
          echo -e "\nAll PHP Extensions:"
          php -m
      - name: Install composer dependencies
        run: |
          composer install --no-interaction --prefer-dist --optimize-autoloader
      - name: Verify Cloudron Connection
        run: |
          if [ -z "${{ secrets.CLOUDRON_URL }}" ]; then
            echo "Error: CLOUDRON_URL secret is not set"
            exit 1
          fi
          echo "Cloudron URL configured: ${{ secrets.CLOUDRON_URL }}"
          echo "App ID: ${{ secrets.CLOUDRON_APP_ID }}"
      - name: Cloudron Push to App
        uses: cloudron-io/cloudron-push-to-app@latest
        with:
          CLOUDRON_URL: "${{ secrets.CLOUDRON_URL }}"
          CLOUDRON_TOKEN: "${{ secrets.CLOUDRON_TOKEN }}"
          CLOUDRON_APP_ID: "${{ secrets.CLOUDRON_APP_ID }}"
          CLOUDRON_PUSH_DESTINATION: "/app/data" (I want to push to this directory, rather then to public)
          CLOUDRON_CREATE_APP_BACKUP: "false"

</code></pre>
]]></description><link>https://forum.cloudron.io/post/116148</link><guid isPermaLink="true">https://forum.cloudron.io/post/116148</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Fri, 28 Nov 2025 05:06:25 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Fri, 28 Nov 2025 04:48:43 GMT]]></title><description><![CDATA[<p dir="auto">Also, looks like in the YAML file the token and url  is wapped</p>
]]></description><link>https://forum.cloudron.io/post/116147</link><guid isPermaLink="true">https://forum.cloudron.io/post/116147</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Fri, 28 Nov 2025 04:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Fri, 28 Nov 2025 03:55:26 GMT]]></title><description><![CDATA[<p dir="auto">This is awesome! Now, how can I confirm if this worked?</p>
]]></description><link>https://forum.cloudron.io/post/116143</link><guid isPermaLink="true">https://forum.cloudron.io/post/116143</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Fri, 28 Nov 2025 03:55:26 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Thu, 27 Nov 2025 13:11:06 GMT]]></title><description><![CDATA[<p dir="auto">Doc page is at <a href="https://docs.cloudron.io/guides/github-action/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/guides/github-action/</a></p>
]]></description><link>https://forum.cloudron.io/post/116108</link><guid isPermaLink="true">https://forum.cloudron.io/post/116108</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Thu, 27 Nov 2025 13:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Wed, 26 Nov 2025 14:08:14 GMT]]></title><description><![CDATA[<p dir="auto">Oh nice, this is incredible. Can you also make a guide <a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a> ? A PR to <a href="https://docs.cloudron.io/guides/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/guides/</a> would be awesome .</p>
<p dir="auto">Not a PHP dev but when/where does one run "composer install" in the workflow ? Maybe in the action itself?</p>
]]></description><link>https://forum.cloudron.io/post/116048</link><guid isPermaLink="true">https://forum.cloudron.io/post/116048</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 26 Nov 2025 14:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Wed, 26 Nov 2025 12:50:38 GMT]]></title><description><![CDATA[<p dir="auto">HeyO <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44b.png?v=f0ef0373a83" class="not-responsive emoji emoji-android emoji--wave" style="height:23px;width:auto;vertical-align:middle" title=":wave:" alt="👋" /> <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=f0ef0373a83" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":smile:" alt="😄" /></p>
<p dir="auto">Now there is this GitHub Repository: <a href="https://github.com/cloudron-io/cloudron-push-to-app" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/cloudron-io/cloudron-push-to-app</a> which publishes this action to the GitHub Marketplace <a href="https://github.com/marketplace/actions/cloudron-push-to-app" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/marketplace/actions/cloudron-push-to-app</a></p>
<p dir="auto">The README should explain how to use it.<br />
Still, this can be confusing for people who never used GitHub actions.</p>
<p dir="auto">I have created a demo repo <a href="https://github.com/BrutalBirdie/github-action-test-repo" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/BrutalBirdie/github-action-test-repo</a> and added the workflow according to my README.<br />
Added an Environment:<br />
<img src="/assets/uploads/files/1764160879109-a089ffb1-88ef-43ce-aa35-a101474692a2-image-resized.png" alt="a089ffb1-88ef-43ce-aa35-a101474692a2-image.png" class=" img-fluid img-markdown" width="2554" height="1273" /><br />
and the secrets:<br />
<img src="/assets/uploads/files/1764160898008-20a75422-173a-4486-9f73-f55556b6c4f4-image-resized.png" alt="20a75422-173a-4486-9f73-f55556b6c4f4-image.png" class=" img-fluid img-markdown" width="2538" height="1279" /></p>
<p dir="auto">Now if I update the <code>README.md</code>, add a simple <code>index.html</code> and <code>index.css</code> it will be deployed to <a href="https://default-lamp.cloudron.dev/" target="_blank" rel="noopener noreferrer nofollow ugc">https://default-lamp.cloudron.dev/</a> when accessing <a href="https://default-lamp.cloudron.dev" target="_blank" rel="noopener noreferrer nofollow ugc">https://default-lamp.cloudron.dev</a> you should see some neon 404 page and you can access the <code>README.md</code> <a href="https://default-lamp.cloudron.dev/README.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://default-lamp.cloudron.dev/README.md</a></p>
<p dir="auto">And in the action view you can see the executed action and logs <a href="https://github.com/BrutalBirdie/github-action-test-repo/actions/runs/19704245518/job/56447718391" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/BrutalBirdie/github-action-test-repo/actions/runs/19704245518/job/56447718391</a></p>
]]></description><link>https://forum.cloudron.io/post/116044</link><guid isPermaLink="true">https://forum.cloudron.io/post/116044</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Wed, 26 Nov 2025 12:50:38 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Wed, 26 Nov 2025 12:36:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/privsec" aria-label="Profile: privsec">@<bdi>privsec</bdi></a><br />
I talked with <a class="plugin-mentions-group plugin-mentions-a" href="/groups/staff" aria-label="Profile: staff">@<bdi>staff</bdi></a> about it, and we asked <a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a> to create a GitHub Action for this since he knows a lot about GitLab CI/CD and also GitHub actions.</p>
]]></description><link>https://forum.cloudron.io/post/116043</link><guid isPermaLink="true">https://forum.cloudron.io/post/116043</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 26 Nov 2025 12:36:52 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting the LAMP app with Git on Wed, 26 Nov 2025 09:06:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/privsec" aria-label="Profile: privsec">@<bdi>privsec</bdi></a></p>
<p dir="auto">This could be done in multiple ways.</p>
<p dir="auto">You get set a simple <a href="https://docs.cloudron.io/apps/#cron" target="_blank" rel="noopener noreferrer nofollow ugc">cron</a> for your lamp app that just pulls every 5 minutes.</p>
<p dir="auto">But this is not reactive to updates to your master branch. It just pulls every 5 minutes.</p>
<p dir="auto">A more complex approach would be to set up a GitHub action that pushes the changes to the LAMP app with the cloudron cli.</p>
]]></description><link>https://forum.cloudron.io/post/116035</link><guid isPermaLink="true">https://forum.cloudron.io/post/116035</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 26 Nov 2025 09:06:11 GMT</pubDate></item></channel></rss>