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 group: build-static
commands: commands:
- yarn --production=false - yarn --production=false
- yarn clean
- yarn build - yarn build
- yarn release
- name: static - mv dist/*.tar.gz dist/vikunja-theme.tar.gz
image: kolaente/zip
pull: true
commands:
- rm -rf node_modules
- zip -r vikunja-theme.zip *
depends_on: [ build ]
- name: release - name: release
image: plugins/s3:1 image: plugins/s3:1
@ -36,6 +31,6 @@ steps:
endpoint: https://s3.fr-par.scw.cloud endpoint: https://s3.fr-par.scw.cloud
region: fr-par region: fr-par
path_style: true path_style: true
source: vikunja-theme.zip source: dist/vikunja-theme.tar.gz
target: /theme/ target: /theme/
depends_on: [ static ] 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 static/styles/main*.css
static/styles/main.css.map static/styles/main.css.map
dist/