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

Add npm deploy on release #6

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open

Add npm deploy on release #6

wants to merge 37 commits into from

Conversation

barlock
Copy link
Contributor

@barlock barlock commented Nov 9, 2018

Adds a hook that will deploy this project to npm whenever a github release is made.

@hadasz You deserve to have your name on publish here, I used mine sense you weren't here. You can change it at any point. If the initial release goes out under me, no harm, it can be easily changed.

https://docs.travis-ci.com/user/deployment/npm/#npm-auth-token

☝️ How to add your token.

.travis.yml Outdated
@@ -6,7 +6,7 @@ branches:
- master
deploy:
provider: npm
email: barlockm@gmail.com
email: hadaszeilberger@gmail.com
api_key:
secure: MMG/XreuTKberxNCl4K7oqkkApkPWVRJUPuon3eufZOeH+s/wWcbCu0ngrUH9A7ZQUpQjS09oyrFGyktKaAs8AOudzJKztsCUOjdqXtO+byJmbEKP5Zu4hlXyuNechHkTy3s+BE1lfFgJDb5gsTbYlfnQL/T3/n/Js8QuznZ31MD10tRb4AlIry6l/LCm4hjt/n2SXP+a4TSCxqnhiRhWMe3v4nXgTffRazg7DF0f6PURFtil8jkU8371b8dR1vSBglh3xHNl1duT9gH5gO9Uhe1eTtdcEltedgthyqaOR0J241drUoSx3Nc79y2+2MAwurLzDUjMrSY/QzdTacCswTt4hlb1zaj2O6KBa11WqowjBkzW7HLC356Y468449VHyK7/q9hxvuF+nqE1c9IA1Yt6e10SAavxS/emrUHH+tZwR31dWK7SZDfUiUqb1QiX3hL5j+b4kdZeVDka3tm3MvGHQpEKRwm2GlKk33JhzaLwNJNphcYZMkoOycQxGwvyDt0ERptnC7xZzUdOrE9sR2iW/tM6/Jewfau2SsMBbp0ThiQkNwMQgiEcwtryulJyRrqBdGWuC2Mt8ddKCsnbA4ZDGOBf68wR/zXGvA/yzOrCgTcgXXFQWvs3XvJh/CnoWsqYBIvuaOd1j179uYTYeadXcb9h1xdn7CI2CIMlAk=
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hadasz This needs to be updated too. I left a link with how to encrypt your token in the top comment.

api_key:
secure: qg/75hBj7lGkgKt2kuX7uGWQrKhqYLjqQPsDobVkMcnPNGprO8LRYUDDSPMvFbjSeiqdGdwdFgspkOYEljf1vlyS+N3huGm4Hj+WoEe/BW7lZZWROmrQamLChGuZ3H0iFL1SHLe32Ly+7mNvZ9hREPxozPgLRSYLDd+chtxCvvcErO2YFqcKCLjCso3kbDQXO24pbMpD42+ZJEJke0NLBNvbNJ16LG6o3nbvuAVRWd8zWgYafMAbZTbl9bqqXXf+pOf2z2zGtYxVN+rZE7XCW4J3nX4Ya/e1ymyHetugoeTtfxG05HCg5bguznYxJTJaMJSWiQNNCnTQELexZwyTLSPyYsw0dSvf57QSHGyQwxzqadcANn9O6JL6NNROBhpAM6sD52qDBxB9BBEsUwEtXQKMbEOTBQaIHdMKtZMZyinW77/m6XtTzwlmB9CsDN3fUDWAknqY+2foCioZeZvvvGWAbjJQ9eUQL1BUw+/hHtY7cOyvDC1ah4ljnUnIddKlNvZBBxWJbjU7x5S2zhjaayExPaxpd2k/f8RkcxB7URvdCbbxsrzieQ2OPer0ywHAOvyQyFTHtcE3x6PzUeB+dBGkBlS9jMKrR+7HmBp5FafD//uW1k/kMAh3HDkv0THYSYbeNgpmYXRZDLMx45st8SXmoZHF4oNoTHhBxSP5mMo=
on:
branch: develop
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think you meant to put this into the develop branch? As it turns out sense there wasn't a condition before it looks like it was going to do it all releases no matter the branch anyway, so we could just revert this commit too?

hadasz
hadasz previously approved these changes Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants