Files
hurricane/.gitea/workflows/deploy.yaml
mrzta 304735d95e
Some checks failed
Deploy Monorepo to Opt / deploy (push) Failing after 10s
Update deploy.yaml
2026-02-12 19:59:33 +00:00

42 lines
1.3 KiB
YAML

name: Deploy Monorepo to Opt
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Sync and Launch Nextcloud
run: |
# Ensure folder exists and copy the file
mkdir -p /opt/docker/nextcloud
cp ./ovh/nextcloud.yml /opt/docker/nextcloud/docker-compose.yml
# Deploy
cd /opt/docker/nextcloud
docker compose up -d --remove-orphans
- name: Sync and Launch Plex
run: |
# Ensure folder exists and copy the file
mkdir -p /opt/docker/plex
cp ./ovh/plex.yml /opt/docker/plex/docker-compose.yml
# 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
- name: Sync and Launch CV
run: |
mkdir -p /opt/docker/cv
# Sync everything in the cv folder (html, dockerfile, etc)
cp -r ./cv/. /opt/docker/cv/
cd /opt/docker/cv
# Rebuild is necessary here because it's a custom Dockerfile
docker compose up -d --build --remove-orphans