Skip to content

Commit 91d307c

Browse files
committed
Fix: github action 환경변수 관련 스크립트 추가
1 parent 520cea2 commit 91d307c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/gradle.yml

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
7171
mkdir scripts
7272
touch scripts/deploy.sh
73+
echo "source /home/ec2-user/.bash_profile" >> scripts/deploy.sh
7374
echo "aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin $ECR_REGISTRY" >> scripts/deploy.sh
7475
echo "docker pull $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> scripts/deploy.sh
7576
echo "docker stop csbroker-api || true" >> scripts/deploy.sh

0 commit comments

Comments
 (0)