From e4bd91845996aa200563428a76f4fa2e9496b60b Mon Sep 17 00:00:00 2001 From: tjatn304905 Date: Sat, 4 May 2024 18:47:17 +0900 Subject: [PATCH] refactor : delete unnecessary deploy step --- .github/workflows/docker-image.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b5b0c0f..33a101c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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