Skip to content

Commit

Permalink
fix: semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
CircleCI committed Mar 13, 2022
1 parent 7fed8b3 commit d1e629c
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ workflows:
ignore: master
requires:
- lumigo-orb/be-deploy
- lumigo-orb/deploy:
- deploy:
filters:
branches:
only: master
Expand Down Expand Up @@ -75,4 +75,38 @@ jobs:
command: npm test --coverage && codecov
- store_artifacts:
path: coverage
prefix: coverage
prefix: coverage
deploy:
working_directory: ~/lumigo-node-wrapper
docker:
- image: lumigo/ci:latest
auth:
username: lumigo
password: $DOCKERHUB_PASSWORD
environment:
- TZ: Asia/Jerusalem
resource_class: medium+
steps:
- run:
command: |
mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
cd ..
git clone git@github.com:lumigo-io/common-resources.git
- run:
command: |
cd ..
git clone git@github.com:lumigo-io/utils.git
- checkout
- run:
name: Check if tagged
command: |
tags=$(git tag -l --points-at HEAD)
echo "Tags $tags"
if [[ ! -z "$tags" ]]
then
echo "A tagged commit, skip..."
circleci step halt
fi
- run:
name: deploy to npm
command: ./scripts/bd_to_prod.sh

0 comments on commit d1e629c

Please sign in to comment.