chore: move repo to ~/rose-ash/ and add configurable PROJECT_ROOT
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 16s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-10 22:01:06 +00:00
parent 742d84e999
commit e667f7a3e0

View File

@@ -7,7 +7,8 @@ on:
env:
REGISTRY: registry.rose-ash.com:5000
IMAGE: cart
REPO_DIR: /root/cart
PROJECT_ROOT: /root/rose-ash
REPO_DIR: /root/rose-ash/cart
jobs:
build-and-deploy:
@@ -58,7 +59,7 @@ jobs:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
run: |
ssh "root@$DEPLOY_HOST" "
cd /root/coop
cd ${{ env.PROJECT_ROOT }}/coop
source .env
docker stack deploy -c docker-compose.yml coop
echo 'Waiting for services to update...'