fix: release pipeline
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2022-01-29 18:08:19 +01:00
parent aaffd5e682
commit 1d65f4b12a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 7 additions and 6 deletions

View File

@ -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

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
node_modules/ node_modules/
static/css/*.css static/css/*.css
dist/ dist/
yarn-error.log

View File

@ -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",