Skip to content

Commit

Permalink
chore: updated netlify-deploy in config
Browse files Browse the repository at this point in the history
  • Loading branch information
TarunAdobe committed Jun 22, 2024
1 parent 1488c28 commit 065bd43
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ commands:
name: Publish review site
command: |
cp projects/documentation/content/favicon.ico test/visual
cd test/visual
branch=$(git symbolic-ref --short HEAD)
hash=$(echo -n $branch-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >> | md5sum | cut -c 1-32)
echo hash
yarn netlify deploy --alias=$hash --dir=test/visual
yarn netlify deploy --alias=$hash
# move "updated" screenshot into the baseline directory before making the new cache
- run:
when: always
Expand Down Expand Up @@ -266,10 +267,11 @@ jobs:
name: Publish review site
command: |
cp projects/documentation/content/favicon.ico test/visual
cd test/visual
branch=$(git symbolic-ref --short HEAD)
hash=$(echo -n $branch-hcm | md5sum | cut -c 1-32)
echo hash
yarn netlify deploy --alias=$hash --dir=test/visual
yarn netlify deploy --alias=$hash
# move "updated" screenshot into the baseline directory before making the new cache
- run:
when: always
Expand Down

0 comments on commit 065bd43

Please sign in to comment.