Skip to content

Commit

Permalink
RAC-411 fix : CI haythem/public-ip 버전 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 authored Jul 10, 2024
1 parent 3d7b9cc commit 61677bd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/CI-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
# GET GitHub IP
- name: get Github IP
id: ip
uses: haythem/[email protected]
uses: haythem/[email protected]

- name: Display GitHub IP
run: echo "GitHub IP is ${{ steps.ip.outputs.ipv4 }}"

# Configure AWS Credentials
- name: Configure AWS Credentials
Expand Down Expand Up @@ -72,4 +75,4 @@ jobs:
- name: Remove IP FROM security group RDS
if: ${{ always() }}
run: |
aws ec2 revoke-security-group-ingress --group-id ${{ secrets.AWS_RDS_SG_ID }} --protocol tcp --port 3306 --cidr ${{ steps.ip.outputs.ipv4 }}/32
aws ec2 revoke-security-group-ingress --group-id ${{ secrets.AWS_RDS_SG_ID }} --protocol tcp --port 3306 --cidr ${{ steps.ip.outputs.ipv4 }}/32

0 comments on commit 61677bd

Please sign in to comment.