This repository has been archived on 2024-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
theme/.drone.yml
kolaente 6f3c075669
All checks were successful
continuous-integration/drone/push Build is passing
feat: add prettier
2022-01-29 18:53:15 +01:00

61 lines
1.2 KiB
YAML

kind: pipeline
name: build
trigger:
event:
- push
steps:
- name: build
image: node:16
pull: true
group: build-static
commands:
- yarn --frozen-lockfile
- yarn prod
- yarn clean
- yarn release
- 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
strip_prefix: dist/
source: dist/vikunja-theme.tar.gz
target: /theme/
when:
event: [push]
branch: [main]
---
kind: pipeline
name: trigger-website-update
trigger:
branch:
- main
event:
- push
depends_on:
- build
steps:
- name: trigger
image: plugins/downstream
settings:
server: https://drone.kolaente.de
token:
from_secret: drone_token
repositories:
- vikunja/website@main
- vikunja/blog@main
- vikunja/api@main