2021-03-05 13:07:35 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
2017-09-08 11:39:18 +02:00
|
|
|
|
2021-03-05 13:07:35 +01:00
|
|
|
steps:
|
|
|
|
- name: copy-sigs
|
|
|
|
image: alpine:3
|
|
|
|
commands:
|
|
|
|
- cp /tmp/signatures.json site/data/signatures/signatures.json
|
|
|
|
volumes:
|
|
|
|
- name: signatures
|
|
|
|
path: /tmp/signatures.json
|
2018-10-09 14:44:39 +02:00
|
|
|
|
2021-03-05 13:07:35 +01:00
|
|
|
- name: hugo
|
|
|
|
image: plugins/hugo
|
|
|
|
settings:
|
|
|
|
source: site
|
|
|
|
validate: true
|
2019-03-09 18:08:21 +01:00
|
|
|
|
2021-03-05 13:07:35 +01:00
|
|
|
- name: deploy
|
2021-04-29 12:21:05 +02:00
|
|
|
image: docker/compose:1.29.1
|
2021-03-05 13:07:35 +01:00
|
|
|
commands:
|
2021-04-29 12:21:05 +02:00
|
|
|
- docker-compose -p pmpc-website up --build -d
|
2021-03-05 13:07:35 +01:00
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
- deployment
|
|
|
|
- cron
|
2017-06-13 08:54:28 +02:00
|
|
|
|
2021-03-05 13:07:35 +01:00
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
- name: signatures
|
|
|
|
host:
|
|
|
|
path: /srv/forms/pmpc/signatures.json
|
|
|
|
|
|
|
|
...
|