Skip to content

Commit 72b5805

Browse files
committed
fix(common): attempt to trigger version release
1 parent af887be commit 72b5805

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.circleci/config.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,42 @@ jobs:
2727
root: ~/react-forms
2828
paths:
2929
- "*"
30-
deploy:
30+
release:
3131
working_directory: ~/react-forms
3232
docker:
3333
- image: circleci/node
3434
steps:
3535
- attach_workspace:
3636
at: ~/react-forms
3737
- run:
38-
name: Authenticate with registry
38+
name: Release new version
3939
command: |
4040
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
4141
yarn release
42+
deploy:
43+
working_directory: ~/react-forms
44+
docker:
45+
- image: circleci/node
46+
steps:
47+
- attach_workspace:
48+
at: ~/react-forms
49+
- run:
50+
name: Deploy docs to firebase
51+
command: |
52+
echo "There will be firebase reploy"
53+
4254
4355
workflows:
4456
version: 2
4557
build_and_deploy:
4658
jobs:
4759
- build
60+
- release:
61+
requires:
62+
- build
63+
filters:
64+
branches:
65+
only: master
4866
- deploy:
4967
requires:
5068
- build

0 commit comments

Comments
 (0)