Skip to content

Commit

Permalink
KAN-27 Refactor: CD en un solo archivo
Browse files Browse the repository at this point in the history
  • Loading branch information
logos914 committed Sep 10, 2024
1 parent eee7a2f commit 316fe56
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/api-deploy.yml

This file was deleted.

16 changes: 15 additions & 1 deletion .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,18 @@ jobs:
run: docker build -t ghcr.io/devmasters2-0/tp-inicial-laboratorio/nms-server:latest -f ./backend/Dockerfile-prod ./backend



deploy-server:
runs-on: lws01
needs: build-server
steps:
- name: Bajar servicio anterior Intento 1
run: docker-compose -f docker-compose.yml -p dm-nms down
- name: Bajar servicio anterior Intento 2
run: docker-compose -f docker-compose.yml -p dm-nms down
- name: Desplegar en LWS
env:
EMAIL_SMTP_USER: ${{ secrets.EMAIL_SMTP_USER }}
EMAIL_SMTP_PASSWORD: ${{ secrets.EMAIL_SMTP_PASSWORD }}
EMAIL_SMTP_SERVER: ${{ secrets.EMAIL_SMTP_SERVER }}
TEST: "true"
run: docker-compose -f docker-compose-dev.yml -p dm-nms up -d

0 comments on commit 316fe56

Please sign in to comment.