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.
 

38 lines
713 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: monachus/hugo
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/website
tags: [ 'latest' ]
when:
event: [ push ]
branch: [ main ]