2020-07-06 20:29:35 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: compiling
|
|
|
|
image: norangebit/pandocker:latest
|
|
|
|
commands:
|
|
|
|
- make
|
|
|
|
- name: deploy
|
|
|
|
image: rclone/rclone:latest
|
|
|
|
commands:
|
|
|
|
- rclone copy out/*.pdf assd:Gruppo\ Progetto\ 1/documentazione
|
|
|
|
volumes:
|
|
|
|
- name: config
|
|
|
|
path: /config/rclone
|
|
|
|
- name: gitea release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_release
|
|
|
|
base_url: https://git.norangeb.it
|
|
|
|
title: Documentazione Untori
|
|
|
|
files:
|
|
|
|
- out/*.pdf
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2020-07-07 20:19:16 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
|
2020-07-06 20:29:35 +00:00
|
|
|
volumes:
|
|
|
|
- name: config
|
|
|
|
host:
|
|
|
|
path: /home/drone/.config/rclone
|
|
|
|
|