1
1
mirror of https://github.com/primer/css.git synced 2025-01-05 21:22:57 +03:00

do the deployment setup in before_deploy (not after_success)

This commit is contained in:
Shawn Allen 2019-01-04 11:35:33 -08:00
parent 3e5ab64a62
commit b701d53a8e

View File

@ -13,7 +13,7 @@ script:
- npm test
- script/check-versions
after_success:
before_deploy:
# this will short-circuit the publish step if it fails to interpolate $NPM_API_KEY
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
# copy the CHANGELOG.md primer for publishing