Trying to add an npm deploy.

This commit is contained in:
Dessalines 2021-01-20 10:23:37 -05:00
parent 2dda1afc7c
commit 7b50f8ca0f
2 changed files with 17 additions and 0 deletions

View file

@ -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/*

6
deploy.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
new_tag="$1"
git tag $new_tag
git push origin $new_tag