Skip to content

Commit

Permalink
Agrego docker run al código de despliegue
Browse files Browse the repository at this point in the history
  • Loading branch information
martinchogimenez committed Apr 17, 2024
1 parent 0be6068 commit fc0f119
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CI_Proveedores-QA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
run: docker push 471626/imagen-prov-qa:latest

- name: Deploy to QA Environment (using secrets)
run: |
docker pull 471626/imagen-prov-qa
run:
ssh -i ${{ secrets.PEM_PROV_QA }} ec2-user@${{ secrets.IP_PROV_QA }} 'docker pull 471626/imagen-prov-qa && docker run -d -p 3000:3000 471626/imagen-prov-qa' |
# docker pull 471626/imagen-prov-qa

- name: Verify Service is Running
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit fc0f119

Please sign in to comment.