Merge pull request #18 from streamich/fix-ci

ci: 🎡 setup GitHub remove before uploading to gh-pages
This commit is contained in:
Va Da 2018-10-28 22:19:35 +01:00 committed by GitHub
commit d58a89ac0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,13 @@ jobs:
- store_artifacts:
path: ~/repo/storybook-static
- *Commit_Status_Storybook
- run:
name: Setup GitHub
command: |
git config --global user.email "streamich@gmail.com"
git config --global user.name "streamich"
git remote rm origin
git remote add origin https://${GITHUB_TOKEN}@github.com/streamich/react-use
- *Upload_Storybook
- *Release