Skip to content

Commit

Permalink
Merge pull request #161 from twenty-three-23/feature/TT-208-ci-cd
Browse files Browse the repository at this point in the history
fix: cicd
  • Loading branch information
snacktime81 authored Jul 8, 2024
2 parents 18371c9 + 2d1a40c commit d3191c0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cicd_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ jobs:
host: ${{ secrets.DEV_EC2_IP }}
username: ${{ secrets.DEV_EC2_ID }}
port: ${{ secrets.DEV_EC2_PORT }}
script: |
cd .
script:
whoami
# sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/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 }}/github-actions-demo
# sudo docker system prune -f

0 comments on commit d3191c0

Please sign in to comment.