Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autopublish to NPM - WIP sugestions wanted #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ jobs:
- yarn build
- yarn run styleguide:build
deploy:
provider: pages
skip_cleanup: true
commiter_from_gh: true
github_token: $GITHUB_TOKEN
on:
branch: master
target_branch: gh-pages
local_dir: docs
- provider: pages
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try indenting the provider items left (including the hyphen) so that they align with the same column as the deploy item. That should do it.

skip_cleanup: true
commiter_from_gh: true
github_token: $GITHUB_TOKEN
on:
tags: true
target_branch: gh-pages
local_dir: docs
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
tags: true
20 changes: 20 additions & 0 deletions .travis/push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

#!/bin/sh

setup_git() {
git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
}

commit_website_files() {
git add .
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
}

upload_files() {
git push --quiet --set-upstream origin master
}

setup_git
commit_website_files
upload_files
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
</p>
<h1 align="center">Vi-Ui</h1>
<p align="center">
<a href="https://david-dm.org/vitta-health/Vi-Ui" title="dependencies status"><img src="https://david-dm.org/vitta-health/Vi-Ui/status.svg"/></a>
<a href="https://github.com/vitta-health/Vi-Ui/blob/master/LICENSE" title="Licente Mit"><img src="https://img.shields.io/badge/License-MIT-blue.svg"/></a>
<a href="https://travis-ci.org/vitta-health/Vi-Ui" title="Travis CI"><img src="https://travis-ci.org/vitta-health/Vi-Ui.svg?branch=master"/></a>
<a href="https://travis-ci.org/vitta-health/Vi-Ui"><img src="https://travis-ci.org/vitta-health/Vi-Ui.svg?branch=master" alt="Travis CI"/></a>
<a href="https://www.npmjs.com/package/Vi-Ui"><img src="https://img.shields.io/npm/v/Vi-Ui.svg?style=flat-square" alt="NPM version"/></a>
<a href="https://david-dm.org/vitta-health/Vi-Ui"><img src="https://david-dm.org/vitta-health/Vi-Ui/status.svg" alt="dependencies status"/></a>
<a href="https://github.com/vitta-health/Vi-Ui/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="Licente Mit"/></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alt="MIT License"

</p>

<h2 align="center"><a href="https://vitta-health.github.io/Vi-Ui/">Read the documentation</a></h2>
Expand Down
Binary file removed dist/fonts/n-a.a550503c.ttf
Binary file not shown.
Binary file removed dist/fonts/n-a.a7afbc0e.woff
Binary file not shown.
Binary file removed dist/fonts/n-a.a7afbc0e.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion dist/vi-ui.min.css

This file was deleted.

51 changes: 0 additions & 51 deletions dist/vi-ui.min.js

This file was deleted.