Skip to content

Commit

Permalink
ci: deploy to netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
davidballester committed Aug 6, 2019
1 parent 39d8ac1 commit 18cdbd2
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,8 @@ jobs:
# run tests!
- run: npm run test

# build
- run: npm run build

# preare docs folder for github pages
- run: cp -r build docs

# commit github pages folder
- run: git config credential.helper 'cache --timeout=120'
- run: git config user.email "[email protected]"
- run: git config user.name "Deployment Bot"
- run: git add docs
- run: 'git commit -m "docs: update github docs"'
# deploy to netlify
- run: npm run deploy

# release
- run: npx semantic-release

0 comments on commit 18cdbd2

Please sign in to comment.