27 lines
818 B
YAML
27 lines
818 B
YAML
name: Deploy-Agent-V10-Debug
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
JOB-V10-DEBUG:
|
|
runs-on: debian-latest
|
|
steps:
|
|
- name: Debug LXC Mounts
|
|
run: |
|
|
echo "--- ROOT LISTING ---"
|
|
ls -F /
|
|
echo "--- MEMEX LISTING ---"
|
|
ls -F /memex || echo "/memex not found"
|
|
echo "--- FULL FIND (Depth 3) ---"
|
|
find /memex -maxdepth 3 || echo "Find failed"
|
|
|
|
- name: Build and Deploy
|
|
run: |
|
|
# We will use the path discovered in the debug step
|
|
cd /memex/projects/org-agent
|
|
docker compose -f deploy/docker/docker-compose.yml down
|
|
docker compose -f deploy/docker/docker-compose.yml build --no-cache org-agent
|
|
docker compose -f deploy/docker/docker-compose.yml up -d --force-recreate org-agent
|