fix: release pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
aaffd5e682
commit
1d65f4b12a
|
@ -7,15 +7,13 @@ trigger:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node:11
|
image: node:16
|
||||||
pull: true
|
pull: true
|
||||||
group: build-static
|
group: build-static
|
||||||
commands:
|
commands:
|
||||||
- yarn --production=false
|
- yarn --frozen-lockfile
|
||||||
- yarn clean
|
- yarn prod
|
||||||
- yarn build
|
|
||||||
- yarn release
|
- yarn release
|
||||||
- mv dist/*.tar.gz dist/vikunja-theme.tar.gz
|
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/s3:1
|
image: plugins/s3:1
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
static/css/*.css
|
static/css/*.css
|
||||||
dist/
|
dist/
|
||||||
|
yarn-error.log
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prod": "tailwindcss -i src/style.css -o static/css/styles.css",
|
"prod": "tailwindcss -i src/style.css -o static/css/styles.css",
|
||||||
"watch": "tailwindcss -i src/style.css -o static/css/styles.css --watch"
|
"watch": "tailwindcss -i src/style.css -o static/css/styles.css --watch",
|
||||||
|
"clean": "rm -rf dist && mkdir dist",
|
||||||
|
"release": "tar -czvf dist/vikunja-theme.tar.gz archetypes layouts static LICENSE README.md theme.toml"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.0",
|
"@tailwindcss/typography": "^0.5.0",
|
||||||
|
|
Loading…
Reference in New Issue