Update deploy.yaml
All checks were successful
Deploy Monorepo to Opt / deploy (push) Successful in 20s

This commit is contained in:
mrzta
2026-02-12 19:55:26 +00:00
parent 3f9a54b028
commit c01904f354

View File

@@ -3,23 +3,30 @@ on: [push]
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest # REQUIRED: This matches your runner label runs-on: ubuntu-latest
steps: # REQUIRED: Steps must be under the 'steps' key steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
persist-credentials: false
- name: Sync OVH Subfolder to Opt - name: Sync and Launch Nextcloud
run: | run: |
mkdir -p /opt/hurricane/apps/ovh # Ensure folder exists and copy the file
# Using /. to copy contents into the existing folder mkdir -p /opt/docker/nextcloud
cp -r ./ovh/. /opt/hurricane/apps/ovh/ cp ./ovh/nextcloud.yml /opt/docker/nextcloud/docker-compose.yml
- name: Launch Independent Stacks # Deploy
cd /opt/docker/nextcloud
docker compose up -d --remove-orphans
- name: Sync and Launch Plex
run: | run: |
cd /opt/hurricane/apps/ovh/ # Ensure folder exists and copy the file
# -p creates separate projects in Docker mkdir -p /opt/docker/plex
docker compose -p nextcloud -f nextcloud.yml up -d --remove-orphans cp ./ovh/plex.yml /opt/docker/plex/docker-compose.yml
docker compose -p plex -f plex.yml up -d --remove-orphans
# Deploy
cd /opt/docker/plex
# Note: If the /dev/dri error persists, you must edit the plex.yml in your repo first
docker compose up -d --remove-orphans