diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0de974..4258ec2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,10 +57,13 @@ jobs: - run: | ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'EOF' + set -e + whoami cd /opt/modes git fetch git reset --hard origin/main pnpm install - pnpm nx run prisma-migrate + pnpm nx run-many --target=build --all + pnpm prisma db push --schema apps/api/prisma/schema.prisma docker-compose up -d --build EOF