diff --git a/.github/workflows/Diareat-CICD.yml b/.github/workflows/Diareat-CICD.yml index fb1be37..4a11ca1 100644 --- a/.github/workflows/Diareat-CICD.yml +++ b/.github/workflows/Diareat-CICD.yml @@ -63,8 +63,9 @@ jobs: echo "DB_ENDPOINT=${{ secrets.DB_ENDPOINT }}" > env.list echo "DB_USERNAME=${{ secrets.DB_USERNAME }}" >> env.list echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> env.list + echo "JWT_KEY=${{ secrets.JWT_KEY }}" >> env.list - sudo docker run -d -p 22:22/tcp --env-file env.list --name Diareat_Backend ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest + sudo docker run -d -p 8080:8080/tcp --env-file env.list --name Diareat_Backend ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest sleep 10s - sudo docker ps | grep ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest + sudo docker ps | grep ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest \ No newline at end of file