diff --git a/.npmignore b/.npmignore index f33585aa..9068122e 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1,4 @@ * !assets/stylesheets/**/* +!assets/images/**/* +!assets/icons/**/* diff --git a/ci/npm b/ci/npm new file mode 100644 index 00000000..4d6af039 --- /dev/null +++ b/ci/npm @@ -0,0 +1,5 @@ +#!/bin/bash +set -e # halt script on error + +echo -e "\n\n************** NPM publish for @codeship/shipyard **************" +npm publish --access public \ No newline at end of file diff --git a/codeship-steps.yml b/codeship-steps.yml index 75d230d9..adf3ca9b 100644 --- a/codeship-steps.yml +++ b/codeship-steps.yml @@ -42,3 +42,7 @@ service: shipyard name: GitHub Pages command: ./ci/github + - + service: shipyard + name: NPM publish + command: ./ci/npm