Skip to content

Commit

Permalink
chore: ci config - workflows (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamTrz authored May 11, 2020
1 parent 554d4bd commit 476eb2c
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ aliases:
key: dependencies-website-{{ checksum "website/package.json" }}
paths: website/node_modules

- &filter-only-master
branches:
only: master

- &filter-ignore-gh-pages
branches:
ignore: gh-pages
Expand Down Expand Up @@ -101,30 +97,21 @@ jobs:
yarn exp login -u "$EXP_USERNAME" -p "$EXP_PASSWORD"
yarn exp publish --non-interactive
# deploy:
# <<: *defaults
# steps:
# - attach_workspace:
# at: ~/react-native-ios-kit
# - run: |
# npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
# npm publish

workflows:
version: 2

build-and-test:
test:
jobs:
- build:
filters:
tags:
only: /.*/
filters: *filter-ignore-gh-pages
- tests:
requires:
- build
filters: *filter-ignore-gh-pages
# - deploy:
# filters: *filter-tag

release:
jobs:
- build:
filters: *filter-tag
- deploy-website:
requires:
- build
Expand Down

0 comments on commit 476eb2c

Please sign in to comment.