Files
hurricane/.gitea/workflows/deploy.yaml
mrzta 70266c19e0
Some checks failed
Deploy Monorepo to Opt / deploy (push) Has been cancelled
Update deploy.yaml
2026-02-12 18:24:58 +00:00

35 lines
1.0 KiB
YAML

name: Deploy Monorepo to Opt
on: [push]
jobs:
deploy:
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 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: |
mkdir -p /opt/hurricane/apps/ovh
# 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/
# -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