Skip to content

Commit

Permalink
Merge pull request #277 from twenty-three-23/hotfix/TT-350
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktime81 authored Aug 1, 2024
2 parents d988d79 + 3bf5d03 commit 987913b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
echo "${{ secrets.DOCKERHUB_PASSWORD_PROD }}" | sudo docker login -u ${{ secrets.DOCKERHUB_USERNAME_PROD }} --password-stdin
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME_PROD }}/github-actions-demo
sudo docker stop $(sudo docker ps -q) 2>/dev/null || true
sudo docker run --name github-actions-demo --rm -d -p 8080:8080 ${{ secrets.DOCKERHUB_USERNAME_PROD }}/github-actions-demo
sudo docker run --name github-actions-demo -v logs:/logs --rm -d -p 8080:8080 ${{ secrets.DOCKERHUB_USERNAME_PROD }}/github-actions-demo
sudo chmode logs 777
sudo docker system prune -f
EOF

0 comments on commit 987913b

Please sign in to comment.