Skip to content

Commit

Permalink
fix: test without intermediate variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemWttJ committed Sep 13, 2023
1 parent b5ee543 commit 69562bb
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,6 @@ jobs:
paths:
- docs/out

# current version deploy for previews
docs_deploy_preview:
<<: *defaults
steps:
- attach_workspace:
at: ~/welcome-ui
- restore_cache:
key: << pipeline.parameters.cache_version >>-welcome-ui-{{ .Environment.CIRCLE_SHA1 }}
- run: node_modules/.bin/netlify deploy --dir=docs/out --alias $CIRCLE_BRANCH

# current version deploy for previews
docs_deploy_s3:
<<: *defaults
Expand All @@ -144,11 +134,9 @@ jobs:
at: ~/welcome-ui
- restore_cache:
key: << pipeline.parameters.cache_version >>-welcome-ui-{{ .Environment.CIRCLE_SHA1 }}
- run: |
CIRCLE_BRANCH_BUCKET=$(echo "$CIRCLE_BRANCH" | sed "s/[^[:alnum:]-]/-/g" | tr '[:upper:]' '[:lower:]' | cut -c -63)
- aws-s3/sync:
from: docs/out
to: s3://welcome-ui/preprod/$CIRCLE_BRANCH_BUCKET
to: s3://welcome-ui/preprod/$(echo "$CIRCLE_BRANCH" | sed "s/[^[:alnum:]-]/-/g" | tr '[:upper:]' '[:lower:]' | cut -c -63)

# current version deploy for production
docs_deploy_prod:
Expand Down

0 comments on commit 69562bb

Please sign in to comment.