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: Checkout Code uses: actions/checkout@v4 with: fetch-depth: 1 persist-credentials: false - 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