Slop for the nerds https://bulletins.hexbear.net
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.

31 lines
479 B

kind: pipeline
type: exec
name: test
clone:
skip_verify: true
trigger:
event:
- pull_request
steps:
- name: test
commands:
- git submodule update --init --recursive
- hugo -d $(mktemp -d)
---
kind: pipeline
type: exec
name: build & deploy
clone:
skip_verify: true
trigger:
event:
exclude:
- pull_request
steps:
- name: build
commands:
- git submodule update --init --recursive
- hugo
- name: deploy
commands:
- cp -r public/* /var/www/news/