drone config removed, prisma fixed
Build and Deploy / lint-frontend (push) Successful in 31s
Build and Deploy / build-frontend (push) Failing after 41s
Build and Deploy / deploy (push) Skipped

This commit is contained in:
Ivan Rezchikov
2026-09-15 20:30:35 +03:00
parent 669c2027b9
commit db97576fc5
2 changed files with 9 additions and 80 deletions
+9
View File
@@ -33,14 +33,23 @@ jobs:
- name: Install dependencies
run: bun install
- name: Generate Prisma client
run: |
DATABASE_URL="${{ secrets.DATABASE_URL }}" bun run prisma generate
- name: Build frontend
run: bun run build
- name: Login to Docker Registry
run: |
echo "${{ secrets.DOCKER_REGISTRY_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_REGISTRY_USER }}" --password-stdin ${{ vars.DOCKER_REGISTRY }}
- name: Build and push Docker image
run: |
docker build -t ${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_IMAGE }}:latest .
docker push ${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_IMAGE }}:latest
deploy:
needs: build-frontend
runs-on: ubuntu-latest