Update deploy.yaml
All checks were successful
Deploy Monorepo to Opt / deploy (push) Successful in 54s
All checks were successful
Deploy Monorepo to Opt / deploy (push) Successful in 54s
This commit is contained in:
@@ -19,16 +19,18 @@ jobs:
|
||||
elif command -v apt-get >/dev/null; then
|
||||
apt-get update && apt-get install -y rsync
|
||||
fi
|
||||
- name: Sync and Launch Nextcloud
|
||||
- name: Sync Nextcloud
|
||||
run: |
|
||||
# 1. Kill the file first to ensure no permission 'append' issues
|
||||
rm -f /opt/docker/nextcloud/docker-compose.yml
|
||||
mkdir -p /opt/docker/nextcloud
|
||||
# rsync -v (verbose) ensures the file is updated on the host
|
||||
rsync -v ./ovh/nextcloud.yml /opt/docker/nextcloud/docker-compose.yml
|
||||
|
||||
# 2. Copy the fresh file from your repo
|
||||
cp -f ./ovh/nextcloud.yml /opt/docker/nextcloud/docker-compose.yml
|
||||
|
||||
# 3. Deploy
|
||||
cd /opt/docker/nextcloud
|
||||
# --force-recreate ensures Docker actually picks up the new file
|
||||
docker compose up -d --force-recreate --remove-orphans
|
||||
|
||||
- name: Sync and Launch Plex
|
||||
run: |
|
||||
mkdir -p /opt/docker/plex
|
||||
|
||||
Reference in New Issue
Block a user