Skip to content

Commit

Permalink
Update deploy-prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
p-shubh authored Jun 26, 2024
1 parent 5f06c6d commit 191ddc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
port: ${{ secrets.PROD_SSH_PORT }}
script: |
pwd
# docker stop erebrus-frontend || true && docker image rm ghcr.io/netsepio/erebrus-frontend:prod
docker stop erebrus-frontend && docker rm erebrus-frontend
docker rmi ghcr.io/netsepio/erebrus-frontend:prod
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ secrets.GHCR_USERNAME }} --password-stdin
docker pull ghcr.io/netsepio/erebrus-frontend:prod
docker run --name="erebrus-frontend" --rm -p 4040:8080 --net=bridge -d ghcr.io/netsepio/erebrus-frontend:prod

0 comments on commit 191ddc4

Please sign in to comment.