Use gulp release pipeline
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
kolaente 2021-04-21 21:50:51 +02:00
parent 2c0596dd1c
commit 43c0479ad2
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 5 additions and 9 deletions

View File

@ -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 ]

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ node_modules/
static/styles/main.css
static/styles/main*.css
static/styles/main.css.map
dist/