ci: fix path and add checkout step to workflow

This commit is contained in:
2026-03-27 17:30:45 -04:00
parent fe1d6585f6
commit d0cf3ab0a6

View File

@@ -8,11 +8,14 @@ jobs:
deploy:
runs-on: debian-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Build and Deploy
run: |
# Use the host's docker.sock to manage the deployment
cd /barrel/computers/memex-2/projects/org-agent
git pull --rebase
# We are now in the runner's workspace containing the checked-out code.
# The host's docker.sock allows us to manage containers on node-1.
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 org-agent