Use gulp release pipeline
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
2c0596dd1c
commit
43c0479ad2
13
.drone.yml
13
.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 ]
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ node_modules/
|
||||
static/styles/main.css
|
||||
static/styles/main*.css
|
||||
static/styles/main.css.map
|
||||
dist/
|
||||
|
Reference in New Issue
Block a user