Hackerspace Website
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.
 
 
 

46 lines
855 B

kind: pipeline
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: xperimental/hugo:0.80.0
commands:
- hugo
- name: publish
image: alpine
volumes:
- name: output
path: /output
commands:
- apk add rsync
- rsync -av --del ./public/ /output/
- chown -R 33:33 /output
when:
repo:
- hacknology/website
branch:
- master
event:
exclude:
- pull_request
- name: verify
image: xperimental/linky:0.4.0
commands:
- linky https://www.hacknology.de
when:
repo:
- hacknology/website
branch:
- master
event:
exclude:
- pull_request
volumes:
- name: output
host:
path: /var/www/html