This commit is contained in:
parent
1ebcbbb645
commit
065d8cbeb7
40
.drone.yml
Normal file
40
.drone.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: build
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: node:12
|
||||||
|
pull: true
|
||||||
|
group: build-static
|
||||||
|
commands:
|
||||||
|
- yarn --production=false
|
||||||
|
- yarn build
|
||||||
|
|
||||||
|
- name: static
|
||||||
|
image: kolaente/zip
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- zip -r vikunja-theme.zip archetypes/ layouts/ static/ theme.toml
|
||||||
|
depends_on: [ build ]
|
||||||
|
|
||||||
|
- name: release
|
||||||
|
image: plugins/s3:1
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
bucket: vikunja-releases
|
||||||
|
access_key:
|
||||||
|
from_secret: aws_access_key_id
|
||||||
|
secret_key:
|
||||||
|
from_secret: aws_secret_access_key
|
||||||
|
endpoint: https://s3.fr-par.scw.cloud
|
||||||
|
region: fr-par
|
||||||
|
path_style: true
|
||||||
|
source: vikunja-theme.zip
|
||||||
|
target: /theme/
|
||||||
|
depends_on: [ static ]
|
Loading…
Reference in New Issue
Block a user