Skip to content

Commit

Permalink
Fix/env2 (#27)
Browse files Browse the repository at this point in the history
* Fix: 환경변수명 수정

* Fix: yaml 파일 작업 삭제
  • Loading branch information
minchodang authored May 19, 2024
1 parent e96b3f3 commit 78f6734
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get Github Actions IP
id: ip
uses: haythem/[email protected]

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
Expand All @@ -21,10 +18,6 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-2

- name: Add Github Actions IP to Security group
run: |
aws ec2 authorize-security-group-ingress --group-id ${{ secrets.AWS_SG_ID }} --protocol tcp --port 22 --cidr ${{ steps.ip.outputs.ipv4 }}/32
- name: Checkout code
uses: actions/checkout@v2

Expand Down Expand Up @@ -78,6 +71,3 @@ jobs:
HOST: ${{ secrets.EC2_HOST }}
SSH_KEY: ${{ secrets.EC2_SSH_KEY }}

- name: Remove Github Actions IP From Security Group
run: |
aws ec2 revoke-security-group-ingress --group-id ${{ secrets.AWS_SG_ID }} --protocol tcp --port 22 --cidr ${{ steps.ip.outputs.ipv4 }}/32

0 comments on commit 78f6734

Please sign in to comment.