machine: node: version: node compile: override: - npm run pack post: - cp packed/* $CIRCLE_ARTIFACTS deployment: default: branch: /.*/ owner: zeit commands: - node ./scripts/slack.js release: tag: /.*/ owner: zeit commands: - ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -replace $CIRCLE_TAG packed - npm publish dependencies: pre: - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc post: - go get github.com/tcnksm/ghr - npm install -g slackup