Skip to content

Commit

Permalink
edit ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Szotkowski committed Sep 11, 2023
1 parent db2f4c4 commit 72aa648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
docker login && \
docker pull selecro/${{ env.IMAGE }} && \
docker login || true && \
docker pull selecro/${{ env.IMAGE }}:${{ env.SHORT_SHA }} && \
docker ps -a | grep ${{ env.IMAGE }} && docker stop ${{ env.IMAGE }} || true && \
docker ps -a | grep ${{ env.IMAGE }} && docker rm ${{ env.IMAGE }} || true && \
docker run \
Expand Down

0 comments on commit 72aa648

Please sign in to comment.