Skip to content

Commit

Permalink
infra: cicd 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoya324 committed Nov 11, 2024
1 parent 342b973 commit 73cc2c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ jobs:
sudo docker image prune -f
debug: true

- name: Remove GitHub Actions IP from Security Group
- name: Revoke Security Group Ingress
run: |
aws ec2 revoke-security-group-ingress \
--group-id ${{ secrets.EC2_SECURITY_GROUP_ID }} \
--protocol tcp --port 22 --cidr ${IP}/32
--group-id *** \
--protocol tcp --port 22 --cidr "${{ env.ip }}/32"

0 comments on commit 73cc2c9

Please sign in to comment.