File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 working_directory : ~/Tools
1818 steps :
1919 - checkout
20+ - run :
21+ name : Plan deployment
22+ command : |
23+ circleci run release plan "${CIRCLE_JOB}" \
24+ --environment-name="default" \
25+ --component-name="${CIRCLE_PROJECT_REPONAME}" \
26+ --target-version="1.0.${CIRCLE_BUILD_NUM}-${CIRCLE_SHA1:0:7}"
2027 - run :
2128 name : " Deploy step"
2229 command : echo "Deploying project..."
30+ - run :
31+ name : Update deployment status to running
32+ command : circleci run release update "${CIRCLE_JOB}" --status=RUNNING
33+ - run :
34+ name : Update deployment status to success
35+ command : circleci run release update "${CIRCLE_JOB}" --status=SUCCESS
36+ when : on_success
37+ - run :
38+ name : Update deployment status to failed
39+ command : circleci run release update "${CIRCLE_JOB}" --status=FAILED
40+ when : on_fail
2341
2442workflows :
2543 build-and-deploy :
You can’t perform that action at this time.
0 commit comments