Update deploy.yaml
All checks were successful
Deploy Monorepo to Opt / deploy (push) Successful in 20s
All checks were successful
Deploy Monorepo to Opt / deploy (push) Successful in 20s
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
# Deploy
|
||||||
|
cd /opt/docker/nextcloud
|
||||||
|
docker compose up -d --remove-orphans
|
||||||
|
|
||||||
- name: Launch Independent Stacks
|
- 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
|
||||||
Reference in New Issue
Block a user