Switched to drone w/ gitlab sync 🚀
This commit is contained in:
parent
9a9b242b91
commit
58391d1289
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: npm
|
||||||
|
image: plugins/npm
|
||||||
|
depends_on: [ clone ]
|
||||||
|
settings:
|
||||||
|
token:
|
||||||
|
from_secret: NPM_TOKEN
|
||||||
|
email: info@odit.services
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
- name: sync to gitlab
|
||||||
|
image: appleboy/drone-git-push
|
||||||
|
depends_on: [ clone ]
|
||||||
|
settings:
|
||||||
|
branch: master
|
||||||
|
remote: git@gitlab.com:odit.services/mailymaily.git
|
||||||
|
ssh_key:
|
||||||
|
from_secret: GITLAB_SSHKEY
|
Loading…
Reference in New Issue