Skip to content

Commit

Permalink
refactor : delete unnecessary deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
tjatn304905 committed May 4, 2024
1 parent 08be59d commit e4bd918
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,10 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_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 5723 --cidr ${{ steps.ip.outputs.ipv4 }}/32
- name: Build the server
run: |
./enable_environment.sh
- name: Remove Github Actions IP From Security Group
continue-on-error: true
run: |
aws ec2 revoke-security-group-ingress --group-id ${{ secrets.AWS_SG_ID }} --protocol tcp --port 5723 --cidr ${{ steps.ip.outputs.ipv4 }}/32
- id: commit
uses: pr-mpt/actions-commit-hash@v2
- name: Set up Docker Buildx
Expand Down

0 comments on commit e4bd918

Please sign in to comment.