From a9a09ed4a022f2f7ba7ff0a82503c8add822bbe0 Mon Sep 17 00:00:00 2001 From: longbui98 Date: Tue, 7 Nov 2023 01:49:27 +0700 Subject: [PATCH] Update workspacke in cloudfront-update job --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c2e4bf3..e0de0b0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -340,6 +340,8 @@ jobs: - image: python:3.9.1-alpine3.12 steps: - checkout + - attach_workspace: + at: ~/ - run: name: Install dependencies command: | @@ -352,7 +354,7 @@ jobs: name: Update cloudfront distribution command: | aws cloudformation deploy \ - --template-file .circleci/files/cloudfront.yml \ + --template-file ~/project/.circleci/files/cloudfront.yml \ --stack-name InitialStack \ --parameter-overrides NewWorkflowID="udapeople-${CIRCLE_WORKFLOW_ID:0:7}" \ --tags project=udapeople