Skip to content

Commit 58e9f80

Browse files
committed
chore: AWS CLI Pager less 문제 해결
1 parent 9f269d3 commit 58e9f80

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/yappu-world-server-lambda-cd.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
run: |
3434
./gradlew shadowJar
3535
36-
# Github Action 실행 서버 IP 추출
37-
- name: Get Github Actions IP
38-
id: ip
39-
uses: candidob/[email protected]
36+
- name: Install AWS CLI
37+
run: |
38+
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
39+
unzip awscliv2.zip
40+
sudo ./aws/install
4041
4142
# AWS Credentials
4243
- name: Configure AWS Credentials
@@ -48,9 +49,10 @@ jobs:
4849

4950
- name: Deploy to AWS Lambda
5051
run: |
52+
export AWS_PAGER=""
5153
aws lambda update-function-code \
5254
--function-name sendSentryAlertsToDiscord \
53-
--zip-file fileb://build/libs/yappu-world-server-lambda-shadow.jar
55+
--zip-file fileb://build/libs/yappu-world-server-lambda-shadow.jar
5456
5557
# Discord Notification
5658
- name: CD Success Notification

0 commit comments

Comments
 (0)