Skip to content

Commit

Permalink
fix(build): update build pipeline to fix broken publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Soc Sieng committed Sep 4, 2020
1 parent 188876d commit c7ba3a0
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/publish.yml
Expand Up @@ -59,20 +59,16 @@ jobs:
bit config set anonymous_reporting false
bit config set user.token $BIT_TOKEN
- name: publish button-react to bit.dev
run: >
(
cd src/button-react
&& bit init
&& bit add --id google-pay-button dist/index.js
&& bit tag --all `node ../../scripts/version.js`
&& bit export google-pay.button-react
)
run: |
cd src/button-react
bit init
bit add --id google-pay-button dist/index.js
bit tag --all `node ../../scripts/version.js`
bit export google-pay.button-react
- name: publish button-element to bit.dev
run: >
(
cd src/button-element
&& bit init
&& bit add --id google-pay-button dist/index.js
&& bit tag --all `node ../../scripts/version.js`
&& bit export google-pay.button-element
)
cd src/button-element
bit init
bit add --id google-pay-button dist/index.js
bit tag --all `node ../../scripts/version.js`
bit export google-pay.button-element

0 comments on commit c7ba3a0

Please sign in to comment.