Skip to content

Commit

Permalink
feat: security group 에서 ip 삭제 누락
Browse files Browse the repository at this point in the history
  • Loading branch information
jimin3263 committed Jun 30, 2024
1 parent b840f30 commit e05a54d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/api-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ jobs:
sudo docker-compose down
sudo docker-compose up --force-recreate --remove-orphans -d
sudo docker image prune -f
- name: Remove IP FROM security group
run: |
aws ec2 revoke-security-group-ingress --group-id ${{ secrets.AWS_SG_ID }} --protocol tcp --port ${{ secrets.PORT }} --cidr ${{ steps.publicip.outputs.ip }}/32

0 comments on commit e05a54d

Please sign in to comment.