diff --git a/.drone.yml b/.drone.yml index 427b56f..7316c72 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,3 +37,14 @@ steps: image: node:14-alpine commands: - yarn lint + +- name: npm + image: plugins/npm + settings: + username: + from_secret: npm_username + password: + from_secret: npm_password + when: + ref: + - refs/tags/* diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..3ca9d3a --- /dev/null +++ b/deploy.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +new_tag="$1" + +git tag $new_tag +git push origin $new_tag