From 70266c19e030c729ec3ee2a1b99ad4852e69407c Mon Sep 17 00:00:00 2001 From: mrzta <108747930+mrzta@users.noreply.github.com> Date: Thu, 12 Feb 2026 18:24:58 +0000 Subject: [PATCH] Update deploy.yaml --- .gitea/workflows/deploy.yaml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ff312a3..90ad7fa 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -3,30 +3,33 @@ on: [push] jobs: deploy: - - name: Checkout Code - uses: actions/checkout@v4 # Use v4 for better Node 20+ support - with: - fetch-depth: 1 - # This forces the runner to use the git binary instead of the REST API - persist-credentials: false - - - name: Install NPM and Tools + runs-on: ubuntu-latest # REQUIRED: This matches your runner label + steps: # REQUIRED: Steps must be under the 'steps' key + - name: Install Git run: | apt-get update - apt-get install -y nodejs npm gettext-base # gettext-base provides envsubst - + apt-get install -y git + + - name: Checkout Code + uses: actions/checkout@v4 + with: + fetch-depth: 1 + persist-credentials: false + + - name: Install Tools + run: | + apt-get update + apt-get install -y nodejs npm gettext-base + - name: Sync OVH Subfolder to Opt run: | - # Create the target path on the host mkdir -p /opt/hurricane/apps/ovh - - # Copy only the contents of the 'ovh' folder from the repo - # This avoids copying the top-level .git, ansible, or cloudflare folders + # Using /. to copy contents into the existing folder cp -r ./ovh/. /opt/hurricane/apps/ovh/ - name: Launch Independent Stacks run: | cd /opt/hurricane/apps/ovh/ - # Deploying as independent projects + # -p creates separate projects in Docker docker compose -p nextcloud -f nextcloud.yml up -d --remove-orphans docker compose -p plex -f plex.yml up -d --remove-orphans \ No newline at end of file