From 58391d1289f441dfbfd2235f1d26c7df6b6d8bb7 Mon Sep 17 00:00:00 2001 From: Niggl Date: Fri, 30 Oct 2020 23:12:57 +0100 Subject: [PATCH] =?UTF-8?q?Switched=20to=20drone=20w/=20gitlab=20sync=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 25 +++++++++++++++++++++++++ .gitlab-ci.yml => old.gitlab-ci.yml | 0 2 files changed, 25 insertions(+) create mode 100644 .drone.yml rename .gitlab-ci.yml => old.gitlab-ci.yml (100%) diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..26fea3b --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file diff --git a/.gitlab-ci.yml b/old.gitlab-ci.yml similarity index 100% rename from .gitlab-ci.yml rename to old.gitlab-ci.yml