Permalink
Browse files

Move approval to separate deploy workflow

Summary: Closes #17916

Differential Revision: D6943605

Pulled By: hramos

fbshipit-source-id: 0e86f01aa38c15e5bc179c5e517f079eb34d495f
  • Loading branch information...
hramos authored and facebook-github-bot committed Feb 8, 2018
1 parent 4f078d3 commit 40b17926bb2c724f1580b2eb0c30a37f5d48030a
Showing with 12 additions and 9 deletions.
  1. +12 −9 .circleci/config.yml
View
@@ -537,7 +537,7 @@ jobs:
workflows:
version: 2
build:
test:
jobs:
# Checkout repo and run Yarn
@@ -581,16 +581,19 @@ workflows:
filters: *filter-ignore-gh-pages
requires:
- checkout_code
# If we are on a stable branch, deploy to `npm`
# Run code checks
- analyze_pr:
filters: *filter-ignore-master-stable
requires:
- checkout_code
deploy:
jobs:
# If we are on a stable branch, wait for approval to deploy to npm
- approve_publish_npm_package:
filters: *filter-only-stable
type: approval
- publish_npm_package:
filters: *filter-only-stable
requires:
- approve_publish_npm_package
- analyze_pr:
filters: *filter-ignore-master-stable
requires:
- checkout_code

0 comments on commit 40b1792

Please sign in to comment.