From 43c0479ad2cc44004c440734b0e8efae9fc6b902 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 21 Apr 2021 21:50:51 +0200 Subject: [PATCH] Use gulp release pipeline --- .drone.yml | 13 ++++--------- .gitignore | 1 + 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 595e4dd..d5b4fe7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,15 +14,10 @@ steps: group: build-static commands: - yarn --production=false + - yarn clean - yarn build - - - name: static - image: kolaente/zip - pull: true - commands: - - rm -rf node_modules - - zip -r vikunja-theme.zip * - depends_on: [ build ] + - yarn release + - mv dist/*.tar.gz dist/vikunja-theme.tar.gz - name: release image: plugins/s3:1 @@ -36,6 +31,6 @@ steps: endpoint: https://s3.fr-par.scw.cloud region: fr-par path_style: true - source: vikunja-theme.zip + source: dist/vikunja-theme.tar.gz target: /theme/ depends_on: [ static ] diff --git a/.gitignore b/.gitignore index 1d99f6a..6a05254 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules/ static/styles/main.css static/styles/main*.css static/styles/main.css.map +dist/