Use gulp release pipeline
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
2c0596dd1c
commit
43c0479ad2
13
.drone.yml
13
.drone.yml
|
@ -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 ]
|
||||||
|
|
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue