Skip to content

Commit

Permalink
feat : db connection setting update
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixtar committed Mar 5, 2024
1 parent 62512c9 commit 33bbbb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
#db 연결 해제 작성
touch scripts/afterBlockTraffic.sh
echo "PUBLIC_IP=\$(curl ifconfig.me)" >> scripts/afterBlockTraffic.sh
echo "curl --user \"$DB_PUBLIC_KEY:$DB_PRIVATE_KEY\" --digest --header \"Accept: application/vnd.atlas.2023-11-15+json\" --request DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/$DB_GROUP_ID/accessList/\$PUBLIC_IP%2f32">> scripts/afterBlockTraffic.sh
echo "curl --user \"$DB_PUBLIC_KEY:$DB_PRIVATE_KEY\" --digest --header \"Accept: application/vnd.atlas.2023-11-15+json\" --request DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/$DB_GROUP_ID/accessList/\$PUBLIC_IP%2f32\"">> scripts/afterBlockTraffic.sh
- name: Compress files
Expand Down

0 comments on commit 33bbbb2

Please sign in to comment.