Skip to content

Commit

Permalink
Fix(#14): deploy_production.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dongkyun0713 authored Jul 17, 2024
1 parent bcdc2d0 commit f31354b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,5 @@ jobs:
sudo docker pull ${{ env.DOCKER_IMAGE_NAME }}
sudo docker run --name $NEW_CONTAINER -d -p $NEW_PORT:"${{ secrets.GREEN_PORT }}" -e TZ=Asia/Seoul ${{ env.DOCKER_IMAGE_NAME }}
echo "CURRENT_CONTAINER='${NEW_CONTAINER}'" >> "$GITHUB_ENV"
echo "CURRENT_PORT='${NEW_PORT}'" >> "$GITHUB_ENV"
echo "CURRENT_CONTAINER='${{ env.CURRENT_CONTAINER }}'" >> "$GITHUB_ENV"
echo "CURRENT_PORT='${{ env.NEW_PORT }}'" >> "$GITHUB_ENV"

0 comments on commit f31354b

Please sign in to comment.