diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e1038f6..e5173ea 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,7 +7,8 @@ on: env: REGISTRY: registry.rose-ash.com:5000 IMAGE: events - REPO_DIR: /root/events + REPO_DIR: /root/rose-ash/events + COOP_DIR: /root/coop jobs: build-and-deploy: @@ -58,7 +59,7 @@ jobs: DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }} run: | ssh "root@$DEPLOY_HOST" " - cd /root/coop + cd ${{ env.COOP_DIR }} source .env docker stack deploy -c docker-compose.yml coop echo 'Waiting for services to update...'