Skip to content

Commit

Permalink
fix: updated script
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed Aug 26, 2024
1 parent 0268f67 commit 97b1180
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:

- name: Create FireBase JSON file From AWS
run: |
aws s3 cp --region ap-northeast-2 s3://${{ secrets.AWS_BUCKET_NAME }}/json/smeem_fcm.json smeem-notification/src/main/resources/firebase-config/smeem_fcm.json
echo "FCM_JSON_PATH=smeem-notification/src/main/resources/firebase-config/smeem_fcm_dev.json" >> $GITHUB_ENV
aws s3 cp --region ap-northeast-2 ${{ secrets.AWS_S3_FCM_JSON_URI_DEV }} $FCM_JSON_PATH
- name: Build with Gradle
run: |
Expand Down
2 changes: 1 addition & 1 deletion script/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ "$(docker ps -a -q -f name=${CONTAINER_NAME})" ]; then
fi

echo "> Run docker"
sudo docker run -d --name ${CONTAINER_NAME} -p 80:8080 "${REGISTRY_URL}"/${IMAGE_NAME}:${TAG}
sudo docker run -d --name ${CONTAINER_NAME} -p 80:8080 "${REGISTRY_URL}"/"${IMAGE_NAME}":${TAG}

echo "----------------------------------------------------------------------"

Expand Down

0 comments on commit 97b1180

Please sign in to comment.