You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
blog/.drone.yml

38 lines
716 B

kind: pipeline
name: build
trigger:
event:
- push
steps:
- name: theme
image: kolaente/toolbox
pull: true
group: build-static
commands:
- mkdir themes/vikunja -p
- cd themes/vikunja
- wget https://dl.vikunja.io/theme/vikunja-theme.tar.gz
- tar -xzf vikunja-theme.tar.gz
- name: build
image: klakegg/hugo:0.91.2
pull: true
commands:
- rm -rf public
- hugo
- name: docker
image: plugins/docker
pull: true
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: vikunja/blog
tags: [ 'latest' ]
when:
event: [ push ]
branch: [ main ]