Skip to content

Commit

Permalink
Fix: Fix NCP ACG, Add CIDR
Browse files Browse the repository at this point in the history
  • Loading branch information
Train0303 committed Sep 6, 2024
1 parent 44784b2 commit 098aae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: add Github Actions IP to ACG
run: |
cd ~/$NCP_CLI_VERSION/cli_linux
./ncloud vserver addAccessControlGroupInboundRule --regionCode KR --vpcNo ${{ secrets.NCP_VPC_NO }} --accessControlGroupNo ${{ secrets.NCP_ACG_NO }} --accessControlGroupRuleList "protocolTypeCode='TCP', ipBlock='${{ steps.ip.outputs.ipv4 }} ', portRange='22'"
./ncloud vserver addAccessControlGroupInboundRule --regionCode KR --vpcNo ${{ secrets.NCP_VPC_NO }} --accessControlGroupNo ${{ secrets.NCP_ACG_NO }} --accessControlGroupRuleList "protocolTypeCode='TCP', ipBlock='${{ steps.ip.outputs.ipv4 }}/24 ', portRange='22'"
- name: deploy NCP server
uses: appleboy/[email protected]
Expand Down

0 comments on commit 098aae8

Please sign in to comment.