diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b156db1..6380f85 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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