Skip to content

Commit

Permalink
fix(infra): #21 Update jq build command
Browse files Browse the repository at this point in the history
  • Loading branch information
allishultes committed Apr 16, 2021
1 parent 107ac3c commit 27df3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dpe-prep:

dpe-build:
cd src/usr/lib/$(NAME) && \
aws --region eu-west-1 ssm get-parameters --name $(ENV)-digital-paper-edit-env --with-decryption | jq '.Parameters[0].Value' > .env && \
aws --region eu-west-1 ssm get-parameters --name $(ENV)-digital-paper-edit-env --with-decryption | jq -r '.Parameters[0].Value' > .env && \
cat .env && npm run build && cd .. && mv $(NAME)/build build && rm -rf $(NAME) && mv build $(NAME)

dpe: dpe-prep dpe-build
Expand Down Expand Up @@ -44,4 +44,4 @@ deploy:
cosmos deploy $(NAME) $(ENV) -f
cosmos deploy-progress $(NAME) $(ENV)

.PHONY: test deploy release clean all dpe dpe-prep dpe-build
.PHONY: test deploy release clean all dpe dpe-prep dpe-build

0 comments on commit 27df3d3

Please sign in to comment.