diff --git a/.circleci/config.yml b/.circleci/config.yml index 905ead272c..e286f81f04 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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: