Browse Source

Use gulp release pipeline

main
kolaente 6 months ago
parent
commit
43c0479ad2
Signed by: konrad GPG Key ID: F40E70337AB24C9B
  1. 13
      .drone.yml
  2. 1
      .gitignore

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

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

Loading…
Cancel
Save